@Test
public void suppliedSearchedEntityTypesIsCopied() {
Set<EntityType<?>> types = new HashSet<EntityType<?>>();
types.add(EntityType.CLASS);
Set<EntityType<?>> typesCopy = new HashSet<EntityType<?>>(types);
EntityLookupRequest request = new EntityLookupRequest("Test", SearchType.SUB_STRING_MATCH_IGNORE_CASE, 20, types);
types.add(EntityType.OBJECT_PROPERTY);
assertEquals(typesCopy, request.getSearchedEntityTypes());
}