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