public function testGetReadConnectionReturnsWriteConnection() { $manager = new ConnectionManagerSingle(); $manager->setConfiguration(['dsn' => 'sqlite::memory:']); $writeCon = $manager->getWriteConnection(new SqliteAdapter()); $readCon = $manager->getReadConnection(new SqliteAdapter()); $this->assertSame($writeCon, $readCon); }