public static boolean checkUserInfo( IUser user ) {
    return !StringUtils.isBlank( user.getLogin() ) && !StringUtils.isBlank( user.getName() );
  }
@Test
  public void checkUserInfo_BothAreMeaningful() {
    assertTrue( RepositoryCommonValidations.checkUserInfo( user( "login", "name" ) ) );
  }