Pantheon\Terminus\UnitTests\HTTPS\RemoveCommandTest::testRemoveFailed PHP Method

testRemoveFailed() public method

Tests the https:remove command when it fails
public testRemoveFailed ( )
    public function testRemoveFailed()
    {
        $this->environment->expects($this->once())->method('disableHttpsCertificate')->will($this->throwException(new TerminusException('Could not delete')));
        $this->setExpectedException(TerminusException::class);
        $this->command->remove('mysite.dev');
    }