public function __construct(TestEnvironment_Definition $parent, $groupId, GroupAdapter $groupAdapter) { $this->parentEnv = $parent; $this->groupId = $groupId; $this->setGroupAdapter($groupAdapter); }