/** * @depends testCreate */ public function testGetAll() { $products = Bf_Product::getAll(); $firstProduct = $products[0]; $expected = Bf_Product::getResourcePath()->getEntityName(); $actual = $firstProduct['@type']; $this->assertEquals($expected, $actual, "Type of any returned entity matches known value."); }