public function testApiDecode_DecodesStringUsingPassedParser()
{
$encoder = $this->createEncoder();
$protocol = $this->createProtocol();
$result = $encoder->with($protocol)->decode($str = '{}');
$this->assertInstanceOf(ProtocolInterface::class, $result);
}