DataSift\Storyplayer\DefinitionLib\TestEnvironment_GroupDefinition::requireGroupAdapter PHP Method

requireGroupAdapter() protected method

throws an exception if we don't have a valid group adapter to use
protected requireGroupAdapter ( ) : void
return void
    protected function requireGroupAdapter()
    {
        if (!$this->groupAdapter instanceof GroupAdapter) {
            throw new E4xx_NeedGroupAdapter($this->getTestEnvironmentName(), $this->getGroupId());
        }
    }