public function testRetrieveByDomain() { $result = CommunityTable::retrieveByDomain("google"); $this->assertTrue(3 <= count($result)); $lastCommunity = $result[count($result) - 1]; $this->assertEquals("website", $lastCommunity->getCommunity()); }