/** * @depends testImpersonate */ public function testAccountListings(AdminContext $context) { $users = $context->getAllUsers(); $resellers = $context->getResellers(); $admins = $context->getAdmins(); $accounts = $context->getAllAccounts(); $this->assertArrayHasKey(ADMIN_USERNAME, $admins); $this->assertArrayHasKey(MASTER_ADMIN_USERNAME, $accounts); $this->assertEquals(count($accounts), count($users) + count($resellers) + count($admins)); }
public static function tearDownAfterClass() { self::$master->deleteAccount(self::$user->getUsername()); }