public function testGetInvalidNegativeEncoder()
{
$factory = $this->getMockBuilder(PlatformFactory::CLASS)->setMethods(['isExtensionLoaded'])->getMock();
$factory->expects($this->exactly(2))->method('isExtensionLoaded')->will($this->returnValueMap([['gmp', false], ['bcmath', false]]));
$this->assertInstanceOf('Protobuf\\Binary\\Platform\\InvalidNegativeEncoder', $factory->getNegativeEncoder());
}