function testGetLinksToExpandByURL() { $ldao = new LinkDAO($this->db, $this->logger); $flickrlinkstoexpand = $ldao->getLinksToExpandByUrl('http://flic.kr/'); $this->assertEqual(count($flickrlinkstoexpand), 5); }