public function testGetAndSetPlatformFactory()
{
$mock = $this->getMock('Protobuf\\Binary\\Platform\\PlatformFactory');
$factory = $this->configuration->getPlatformFactory();
$this->assertInstanceOf('Protobuf\\Binary\\Platform\\PlatformFactory', $factory);
$this->configuration->setPlatformFactory($mock);
$this->assertSame($mock, $this->configuration->getPlatformFactory());
}