public function testGetAll() { $subscriptions = Bf_Subscription::getAll(); $firstSub = $subscriptions[0]; $expected = Bf_Subscription::getResourcePath()->getEntityName(); $actual = $firstSub['@type']; $this->assertEquals($expected, $actual, "Type of any returned entity matches known value."); }