assertTrue( $struct instanceof ezcBaseStruct ); } public function testGetSet() { $struct = new ezcMvcHttpRawRequest(); $struct->headers = 'php'; $this->assertEquals( 'php', $struct->headers, 'Property headers does not have the expected value' ); $struct->body = 'ezc'; $this->assertEquals( 'ezc', $struct->body, 'Property body does not have the expected value' ); } public function testSetState() { $state = array( 'headers' => 'php', 'body' => 'ezc', ); $struct = ezcMvcHttpRawRequest::__set_state( $state ); $this->assertEquals( 'php', $struct->headers, 'Property headers does not have the expected value' ); $this->assertEquals( 'ezc', $struct->body, 'Property body does not have the expected value' ); } public static function suite() { return new PHPUnit_Framework_TestSuite( "ezcMvcHttpRawRequestTest" ); } } ?>