public function testSetConnection()
 {
     $connection = new PdoConnection('sqlite::memory:');
     $manager = new ConnectionManagerSingle();
     $manager->setConnection($connection);
     $conn = $manager->getWriteConnection();
     $this->assertSame($connection, $conn);
 }