Pantheon\Terminus\UnitTests\Commands\Site\Org\ListCommandTest::testListOrgsNone PHP Method

testListOrgsNone() public method

Tests site:org:list when there aren't any
public testListOrgsNone ( )
    public function testListOrgsNone()
    {
        $this->org_memberships->expects($this->once())->method('all')->willReturn([]);
        $this->logger->expects($this->at(0))->method('log')->with($this->equalTo('notice'), $this->equalTo('This site has no supporting organizations.'));
        $this->command->listOrgs('my-site');
    }