@Test
public void testUserCheckUserNotFound() {

    Mockito.when(mockUserService.findByName(VALID_USERNAME)).thenReturn(null);
    Assert.assertFalse(defaultAuthenticationService.userPasswordCheck(VALID_USERNAME, VALID_PASSWORD));
    Mockito.verify(mockUserService).findByName(VALID_USERNAME);
}