public function testChangeAdapterPluginManager() { $newPluginManager = new AdapterPluginManager(); Serializer::setAdapterPluginManager($newPluginManager); $this->assertTrue(Serializer::getAdapterPluginManager() === $newPluginManager); }