Pantheon\Terminus\UnitTests\Commands\Site\DeleteCommandTest::testDelete PHP Method

testDelete() public method

Exercises the site:delete command
public testDelete ( )
    public function testDelete()
    {
        $site_name = 'my-site';
        $this->site->expects($this->once())->method('delete')->with();
        $this->logger->expects($this->once())->method('log')->with($this->equalTo('notice'), $this->equalTo('Deleted {site} from Pantheon'), $this->equalTo(['site' => $site_name]));
        $out = $this->command->delete($site_name);
        $this->assertNull($out);
    }