### Question:
ConsentEntity extends InstanceDependableEntity implements Authorisable { public boolean isWrongConsentData() { return CollectionUtils.isEmpty(psuDataList) || tppInformation == null || tppInformation.getTppInfo() == null; }  @PostLoad void consentPostLoad(); @PreUpdate void consentPreUpdate(); @PrePersist void consentPrePersist(); boolean isConfirmationExpired(long expirationPeriodMs); void addUsage(AisConsentUsage aisConsentUsage); boolean isWrongConsentData(); boolean isExpiredByDate(); boolean shouldConsentBeExpired(); boolean isNonReccuringAlreadyUsed(); boolean isOneAccessType(); @Override String getInternalRequestId(AuthorisationType authorisationType);  }### Answer:
@Test void isWrongConsentData_shouldReturnTrue_emptyPsuDataList() { ConsentEntity aisConsent = buildConsent(Collections.emptyList(), TPP_INFO, false); boolean actual = aisConsent.isWrongConsentData(); assertTrue(actual); }
@Test void isWrongConsentData_shouldReturnTrue_tppInfoNull() { ConsentEntity aisConsent = buildConsent(Collections.singletonList(PSU_DATA), null, false); boolean actual = aisConsent.isWrongConsentData(); assertTrue(actual); }
@Test void isWrongConsentData_shouldReturnFalse() { ConsentEntity aisConsent = buildConsent(Collections.singletonList(PSU_DATA), TPP_INFO, false); boolean actual = aisConsent.isWrongConsentData(); assertFalse(actual); }