Pantheon\Terminus\UnitTests\Commands\Domain\LookupCommandTest::testLookupDNE PHP Method

testLookupDNE() public method

Tests the domain:lookup command when the domain is not present
public testLookupDNE ( )
    public function testLookupDNE()
    {
        $domain = 'some.domain';
        $this->domains->expects($this->any())->method('has')->with($this->equalTo($domain))->willReturn(false);
        $this->setExpectedException(TerminusNotFoundException::class);
        $out = $this->command->lookup($domain);
        $this->assertNull($out);
    }