@Test
public void testGetAccountOtherUsername() throws Exception {

    // Create the request and response for the Shiro login
    HttpServletRequest request = mock(HttpServletRequest.class);
    HttpSession session = mock(HttpSession.class);
    when(request.getSession()).thenReturn(session);
    HttpServletResponse response = mock(HttpServletResponse.class);
    // Log the user in to shiro
    loginUser(request, response, "jad", "1ad");
    // Create the object to be tested
    AccountResource resource = new AccountResource();
    // Create mock OSGi services to inject and inject it
    MockLogService logservice = new MockLogService();
    resource.logservice = logservice;
    // Inject fake OSGi service UkelonnService
    UkelonnService ukelonn = mock(UkelonnService.class);
    resource.ukelonn = ukelonn;
    // Run the method under test with a different username
    assertThrows(ForbiddenException.class, () -> {
            resource.getAccount("jod");
        });
}