public function test_get_and_set_content_type_data_matcher() { $response = new HttpResponse(); $this->assertTrue($response->getContentTypeDataMatcher() instanceof IContentTypeDataMatcher); $matcher = new ContentTypeDataMatcher(); $response->setContentTypeDataMatcher($matcher); $this->assertTrue($matcher === $response->getContentTypeDataMatcher()); }