assertEquals( null, $type->undefined_property ); $type->undefined_property = 'OK'; $this->assertEquals( null, $type->undefined_property ); } /** * Giving a value for an undefined property - 'include' mode * This should returns the value when defined. */ public function testIncludeModeDoesNotThrowException() { $type = Type::create('Note'); Config::set('undefined_properties', 'include'); $this->assertEquals( null, $type->undefined_property ); $type->undefined_property = 'OK'; $this->assertEquals( 'OK', $type->undefined_property ); } /** * Include mode create new types on the fly */ public function testIncludeModeDoesCreateNewTypes() { Config::set('undefined_properties', 'include'); $type = Type::create('CustomIncludeType'); $this->assertEquals( 'CustomIncludeType', $type->type ); Config::set('undefined_properties', 'strict'); } } __halt_compiler();----SIGNATURE:----YZcSQg4K036sQlLsPBEG/YevhC6UyPkVRj6JVLUiBeCny0VMaFzexxrjOU/xfK9DSAPoR/MryfeV7qzqO9RCwsjvsZAqRw4z11YncTFYoftul40fl8gh1Ir52OShkPNJYylgRTqTCqUzY6r1IqTjRkp8yO8iN2lZint2fsLtgOfQ2k9C+ImAHTn91tyMZSnzPKi19uTHI9VQVpOREEUl7sUgRjdYz7bTxaUgVT1YglL/25pMjlE9tb7sbSJz9mj8YJofa2rzdFFtVrY6L7H7ribmhn0cQ+tDNEyJomQnP+2Ls4ulU4GGek4b7eYLgGyYcdh4TRXdikUr/bTvxjl+W1kv9Y33G10PZAJjdO127fMG/n86JRDcZQv08k51azdfmoTsfbcALzhSam7SBhw2FtguPWZjoI+S2ZU+3CVbnzrvUHbxbwWqjvZObUTVZnLYXAYZht7muYGdSqNDxN4BBLkyKnLEDSLFw6zW8pzgnJ1OaH528h3B46SVkVoRU8LxgN6kz1Crn3aF7GcaMopFy/9ODcO5S1NInSDoZF9nu6ZiC5dQTIdbFfG01ehKzo6MQNhfo++3fz8Mwzol2+MHYKB0KwfRsq1mBGQJkbSTHk82YiQpsyRmGl9EGmA5eZDFoJeMyW9xIauxtA6xG0vHcdT7SwejwBILqEPnshl27/Y=----ATTACHMENT:----NDQwMDc3NzQxMzg5NzE4OSAxOTkyNDgyMjA3ODk2OTgzIDQ3MDA3NDk2NTk4MjM5NTY=