@Test
public void testGetUserByUsername() throws IOException, TokenExpiredException {

    try(ArgusService argusService = new ArgusService(getMockedClient("/UserServiceTest.json"))) {
        UserService userService = argusService.getUserService();
        PrincipalUser result = userService.getUser("admin");
        PrincipalUser expected = _constructAdminUser();
        assertEquals(expected, result);
    }
}