### Question:
RequeryEntityInformationSupport extends AbstractEntityInformation<T, ID> implements RequeryEntityInformation<T, ID> { @SuppressWarnings({ "rawtypes", "unchecked" }) @Nonnull public static <T> RequeryEntityInformation<T, ?> getEntityInformation(@Nonnull final Class<T> domainClass, @Nonnull final RequeryOperations operations) { Assert.notNull(domainClass, "domainClass must not be null."); Assert.notNull(operations, "operations must not be null."); EntityModel entityModel = operations.getEntityModel(); Assert.notNull(entityModel, "EntityModel must not be null!"); log.debug("entityModel={}", entityModel); if (org.springframework.data.domain.Persistable.class.isAssignableFrom(domainClass)) { return new RequeryPersistableEntityInformation(domainClass, entityModel); } else { return new RequeryEntityModelEntityInformation<>(domainClass, entityModel); } } RequeryEntityInformationSupport(@Nonnull final Class<T> domainClass); @Nonnull String getEntityName(); @Nonnull String getModelName(); @SuppressWarnings({ "rawtypes", "unchecked" }) @Nonnull static RequeryEntityInformation<T, ?> getEntityInformation(@Nonnull final Class<T> domainClass,
                                                                          @Nonnull final RequeryOperations operations);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void rejectsClassNotBeingFoundInMetamodel() { Mockito.when(operations.getEntityModel()).thenReturn(entityModel); RequeryEntityInformationSupport.getEntityInformation(User.class, operations); }