/** * @depends testGetAll */ public function testGetById($objects) { $at = getenv("BB_ACCESS_TOKEN"); $object = AccountNature::getById($at, $objects[0]->id); $this->assertInstanceOf('\\ClausConrad\\BillysBilling\\AccountNature', $object, 'Getting object by ID returns the correct type.'); }