/** * @group unit */ public function testEnabledDisable() { $connection = new Connection(); $this->assertTrue($connection->isEnabled()); $connection->setEnabled(false); $this->assertFalse($connection->isEnabled()); $connection->setEnabled(true); $this->assertTrue($connection->isEnabled()); }