@Test public void test_should_return_true_when_mobile_number_is_not_present() { final NonLoggedInUserUpdatePasswordRequest request = NonLoggedInUserUpdatePasswordRequest.builder() .tenantId("tenantId") .newPassword("newPassword") .userName(null) .otpReference("otpReference") .build(); assertTrue(request.isUsernameAbsent()); }
public boolean isUsernameAbsent() { return isEmpty(userName); }
NonLoggedInUserUpdatePasswordRequest { public boolean isUsernameAbsent() { return isEmpty(userName); } }
NonLoggedInUserUpdatePasswordRequest { public boolean isUsernameAbsent() { return isEmpty(userName); }  }
NonLoggedInUserUpdatePasswordRequest { public boolean isUsernameAbsent() { return isEmpty(userName); }  void validate(); OtpValidationRequest getOtpValidationRequest(); boolean isOtpReferenceAbsent(); boolean isUsernameAbsent(); boolean isNewPasswordAbsent(); boolean isTenantIdAbsent(); }
NonLoggedInUserUpdatePasswordRequest { public boolean isUsernameAbsent() { return isEmpty(userName); }  void validate(); OtpValidationRequest getOtpValidationRequest(); boolean isOtpReferenceAbsent(); boolean isUsernameAbsent(); boolean isNewPasswordAbsent(); boolean isTenantIdAbsent();  }