public function itReturnsTrueIfPluginIsInstalledAndEnabled() { stub($this->ssh)->execute()->returns("Name Version Status\n ----------------------------------------------------\n deleteproject 1.1-SNAPSHOT ENABLED\n replication 1.0 ENABLED"); $enabled = $this->driver->isDeletePluginEnabled($this->gerrit_server); $this->assertTrue($enabled); }