コード例 #1
0
 public function testChangeDefaultAdapterWithInstance()
 {
     $newAdapter = new Adapter\PhpSerialize();
     Serializer::setDefaultAdapter($newAdapter);
     $this->assertTrue($newAdapter === Serializer::getDefaultAdapter());
 }