Unit tested LoggedInUserAdapter