public function testIsContentTypeSupported() { $writer = new Atom(); $this->assertTrue($writer->isContentTypeSupported(new MediaType('application/atom+xml'))); $this->assertFalse($writer->isContentTypeSupported(new MediaType('application/xml'))); }