@Test public void test_isPasswordValid_true() { Mockito.when(adminDetailsService.isPasswordValid(USERNAME, OLD_PW)).thenReturn(true); Assert.assertTrue(adminManagerToTest.isPasswordValid(USERNAME, OLD_PW)); }
@Override public boolean isPasswordValid(String username, String password) { return adminDetailsService.isPasswordValid(username, password); }
AdminUserManager implements IAdminUserManager { @Override public boolean isPasswordValid(String username, String password) { return adminDetailsService.isPasswordValid(username, password); } }
AdminUserManager implements IAdminUserManager { @Override public boolean isPasswordValid(String username, String password) { return adminDetailsService.isPasswordValid(username, password); }  }
AdminUserManager implements IAdminUserManager { @Override public boolean isPasswordValid(String username, String password) { return adminDetailsService.isPasswordValid(username, password); }  @Override List<UserDetails> getAdministrators(); @Override boolean isPasswordValid(String username, String password); @Override boolean updatePassword(String username, String oldPassword, String newPassword); }
AdminUserManager implements IAdminUserManager { @Override public boolean isPasswordValid(String username, String password) { return adminDetailsService.isPasswordValid(username, password); }  @Override List<UserDetails> getAdministrators(); @Override boolean isPasswordValid(String username, String password); @Override boolean updatePassword(String username, String oldPassword, String newPassword);  }