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:----vnLuLP+38dfgstC4zMLTcKHz9XXPBFe8KrM519/y9JlvVxxIycLj3VnE0lx4iZ+xcfs+hH5JBF1JkY/qmonxqpwDZiB8PhJ+9fm5WTbprJueTgbJBYeDtam8RHgl/FTB9/B6lLRhsH8gnpbf221XxfDu2E+wpUM3xKaQEfeey5tvZ50bzs5x5MQc5f1w7cZAs+HwkiZVyjts43P3TnyH1HLhc4tmEz5aXidn09EfPUpdjHruDCJgvZCEAqmUR2+RS/AGiKfpGTxj1Er9+hRZxhSgtb6/6PsiOwUchvVvOIEzwpS0eOAbwe/cYEu40uc2KeU2I0B7rVtm1jK/HyYfqNYzq4DGnJbzh2qeJ3P+UfcNxsB/ZwyPQzZmBSeILKgC58kIWjx8gK0LPxS4yqsBADWbeU9Aaie/Me/P0PRIFso0q/1UVf9hQbljGEzfVR0Zzo8ii5IEZIqxYIhnorf7LJ+KsTDnanO3hFPGmBYvkFnSKDRcFwjhpRVhoYSdZjQTSANi6HfVUQhhWWCpj98rruSNE+ez08QnUfNHYoth51HtObbky1e28sq2b/woguoPSx8Pk0EtkttL281JAlrZGisK5Q+Mz9FXxsRQ6yhXQ39wqzfuTeL4zbyzv/bdeQ7rdZw48Ry1vIoLaBXL/d8XZScq63n5V+ldLqm3z/44Lt4=----ATTACHMENT:----NjI5MDQ5MDIyNjQ0MzA1OCA2MjUxMjEzNDA1OTYwNzM4IDkzODc2MjEyODE4MTkzNjk=