/** * test site */ public function testSite() { $this->assertNull($this->group->getSite()); $site = Phake::mock('OpenOrchestra\\ModelInterface\\Model\\SiteInterface'); $this->group->setSite($site); $this->assertSame($site, $this->group->getSite()); }