### Question:
IdentityProviderConfig implements EntityIdentifiable { public boolean isOnboardingAtAllLevels() { return supportedLevelsOfAssurance.stream().allMatch(this::isOnboardingAtLoa); } @SuppressWarnings("unused") // needed to prevent guice injection protected  IdentityProviderConfig(); @Override String getEntityId(); @Override String toString(); List<LevelOfAssurance> getSupportedLevelsOfAssurance(); boolean supportsLoa(LevelOfAssurance levelOfAssurance); String getSimpleId(); Boolean isEnabled(); @JsonProperty("temporarilyUnavailable") Boolean isTemporarilyUnavailable(); Boolean canReceiveRegistrationRequests(); Boolean canSendRegistrationResponses(Duration sessionDuration); @JsonProperty("authenticationEnabled") Boolean isAuthenticationEnabled(); Boolean isEnabledForSingleIdp(); String getProvideRegistrationUntil(); List<String> getOnboardingTransactionEntityIds(); boolean isOnboardingForTransactionEntityAtLoa(String transactionEntity, LevelOfAssurance levelOfAssurance); boolean isOnboardingAtAllLevels(); boolean isOnboardingAtLoa(LevelOfAssurance levelOfAssurance); Boolean getUseExactComparisonType();  }### Answer:
@Test public void shouldCheckThatIsOnboardingAtAllLevels() { final IdentityProviderConfig dataOnboardingAtAllLevels = dataBuilder .withSupportedLevelsOfAssurance(Arrays.asList(LevelOfAssurance.LEVEL_1, LevelOfAssurance.LEVEL_2)) .withOnboardingLevels(Arrays.asList(LevelOfAssurance.LEVEL_1, LevelOfAssurance.LEVEL_2)) .build(); assertThat(dataOnboardingAtAllLevels.isOnboardingAtAllLevels()).isTrue(); final IdentityProviderConfig dataOnboardingAtOneLevelOnly = dataBuilder .withSupportedLevelsOfAssurance(Arrays.asList(LevelOfAssurance.LEVEL_1, LevelOfAssurance.LEVEL_2)) .withOnboardingLevels(Collections.singletonList(LevelOfAssurance.LEVEL_1)) .build(); assertThat(dataOnboardingAtOneLevelOnly.isOnboardingAtAllLevels()).isFalse(); }