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:----rRpxUKprsYzc9OK/hMhbukeL3+jpQAky/7RXuDerKQ7UrCufHdU/gOXaMW01EPnnLNWYhWL/mDNOfeZc9lJOslTv62UJ48WBE6xJBykPTMjmmSkyfUdYSTkHJroKxdgiD3D3lv6Mv59Jz53w8tn3B3+nbHkeUOnc/mPUTG+MNqWsouSj8u9TyRxXaSnV+FAz0oiz38AEZ+T8rAylKCKSMIIqUfmTRVEwDAcnFcTtobm+1lvwpW2o5JoTpCY5p3dy1+e9lNU5+oWKEiiwblQ+AaReYIK06ihwm2BKC1SFZORKnRfz/Wo+alPS2cteP+nyuPk+DmgkX3/rhPTodj4U4/0orjv6aIYg05Fdc8x0U2mvNEjaNXT/rFfQg9OkLIMaVdCPj0kNyGBwIWUdahLZMyxbRo/WY/2sE5aJIlGmvGdQd0/NvmAAr35l06BXawappEk0sfUuKXx1q4xxgChwsF+swTNSR784qchKr2OJwM6lCj8EXiE3NxhQ+uj18b6ltFBdhsvEGrathGqeTIuNd/1dhkHdNaGovz9H7EknSwrz/AUPGZ4i19irFK7w3SmkLxx4Wdh5gBlkH8tzfd8ELoXNkNK+rZ5pOkC0OK/O0zKYpxA7VqVbqtouMT+eWVzq34O0/fUUWnuZXURatFcH6SVfZdZwGRTEeIu7IBFyslQ=----ATTACHMENT:----NzUyNjM2NDM2MzEyNDE2IDIwMjI3NzI2OTEyMzU2MSAzMjI1MDI4MzUwNDczNjgx