public function testQueryGenerationForRetrievingSubscriptionRelationships()
{
$methods = array('apples', 'bananas');
$query = "SELECT guid_one AS guid, GROUP_CONCAT(relationship SEPARATOR ',') AS methods\n\t\t\tFROM {$this->db->prefix}entity_relationships\n\t\t\tWHERE guid_two = {$this->containerGuid} AND\n\t\t\t\t\trelationship IN ('notifyapples','notifybananas') GROUP BY guid_one";
$this->db->expects($this->once())->method('getData')->with($this->equalTo($query))->will($this->returnValue(array()));
$service = new \Elgg\Notifications\SubscriptionsService($this->db);
$service->methods = $methods;
$this->assertEquals(array(), $service->getSubscriptions($this->event));
}