/** * @depends testGetAll */ public function testGetById($objects) { $at = getenv("BB_ACCESS_TOKEN"); $object = $objects[0]; $object = AccountGroup::getById($at, $object->id); $this->assertInstanceOf('\\ClausConrad\\BillysBilling\\AccountGroup', $object, "getById returns an instance."); return $object; }