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