private void assertAttributesFetched(List<PrismValue> data) { for (PrismValue value : data) { if (((PrismObjectValue<ShadowType>) value).asObjectable().getAttributes().getAny().size() <= 2) { throw new AssertionError("There are no attributes present in " + value.debugDump()); } } }