/** * Tests the supportsEncoding() method. */ public function testSupportsEncoding() { $this->assertTrue($this->encoder->supportsEncoding('xml')); $this->assertFalse($this->encoder->supportsEncoding('json')); }