Pantheon\Terminus\FeatureTests\FeatureContext::noSiteNamed PHP Method

noSiteNamed() public method

Ensures there is no site with the given name. Loops until this is so
public noSiteNamed ( [string] $site ) : [boolean]
$site [string]
return [boolean]
    public function noSiteNamed($site)
    {
        try {
            $this->aSiteNamed($site);
        } catch (\Exception $e) {
            return true;
        }
        throw new \Exception("A site named {$site} was found.");
    }