    @Test
    public void givenAdminPermission_whenLogin_returnTrue() throws Exception {

        when(apiClient.authenticate(username, password)).thenReturn(Lists.newArrayList("ADMIN"));
        assertTrue(userService.login(username, password));
    }