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:----N0G0yBy11o+tagbzPBYrn96oZO8rlbO34ghDOPWeALPmOU38YHJj4vbhQ2G2w5uJS+/5alNxplpWl7vaPsE0z0DSf4IwLT/nS0R5a/Tc84btjg5NYBDqpDJvue9BM8qhhpR+BoeXrulr1GcxRSwCaHFqYBuHzii1ypvzVHAnArR9gnjBmljMWXACdZf/I14JjMIA5pWOqytPU0VPjOrTEiwnADo039eVPm2chZkHsOfBfqDUAc3LLx4sLGWCluCeF8wHhR6m6jEOiO/75kfDloHuAAL91HF382QGBH/QEa8UI8JqnO9ZVbgqzjG7cjqjpADzsXFzu7TfBGRhBoHf/hlzL5cKVuqFizWH710Znhip2cQFiOJH+VKKvpAPVkaHGyhA+cYUQ+peM1dOQ0nww4MRsKcfWQCPYlo+0XUwjwBgDn8SrtPRNw6u4ZCGg899Cy/RfXzjvnYgP5b+higXKp3PUM54bgafVA1XMzmU3W4lDxph0yiBCaTUePPdeXiY1DJvkpEvBWtzckiocR298atIVCbT7eYQnKrdr0HHPQw2DmW6UsO+5Y/iAFrd0nafUYlJU278bmu0mNw647Z81pd/PrIGIOwsomEYjfXRWBpQdrvroPL63gGzY5619aIQUutkZPU5zro5fanKIjBVVIoIVzJa88GiZF98zLRks00=----ATTACHMENT:----MTQ5NTcyMTg3MDkyNTcxOCAxMjM1MTM0OTIxNTEwMzIgNjc1MzIwMDQxODEzNDMz