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:----sLi+EWDI4I3xybPfLMsZ+8Jx0t7Z7BLdkwwtjjZl2YuVgXCut3M6fqpHXO2BSNaN33rieEprZqa4ZBkedc8VfLupDI9yAOLjcKlcvPcoam0NHf++MdqzQiFmaknKmzXE2XJSjEVbL6yihMtU7/hihzEXF+/TXyajad+yBRcA8tr8riU/KNhhwlK0iB8Xuuucg0MXDp0bj5NLZClJzVYhby1b0lVZ3niTuUMMiTZXFzC/2r76ahNsw06usNGYO8lXCQ1y2oGOPVfCKjZKWU0VgqpqJBXmW8gmyMSLHwxBqd0ZvlGgKyLUarGPX81dB1sar8NG8iate0vYrAdhViPC4R21OXiN/5DP0nLKixIpGLz3fBwVhy+FwcpuQYdnxRa44xgHwEMP+Dl14qXp3yCqQiY3exXda4Q6/9UzSTUgEgbbagxPe0Y3Le4FvQ4kh/ryyMLdZYOkangqtHSIrsh+82qe0Ib4xObL7EHb2w2v8KSP14BgA+gW/WWAVnlweDJ6W+H4fcon6ZYE8h6x1236VlsazdT0KkUioXdyDQ0NEHVtlovb+CmBE0Hen+5dDyQL4qRS1iFjusPd8HAybiJMEQDtJyNGJVYNeF6NNUv7ZhvhCzIE0l2mjDPTYB42tk9KQVHipbmqyRih04FBIsqJnfP+UUZJlt4h/FxO8vqeqMM=----ATTACHMENT:----NDkwMjQ2NDExNDQ5OTk1NiAyNjUyMjI1NTQ3MzMyNjM1IDczMjY0NzE2MDg3MjEzOTQ=