class TestCollectionFull extends Test {
@Override
boolean test(final Request request, final String attributeName, final String targetId) {
final ObjectAdapter object = MethodsUtils.findObject(request.getContext(), attributeName);
final CollectionFacet facet = object.getSpecification().getFacet(CollectionFacet.class);
final boolean isEmpty = facet != null && facet.size(object) == 0;
return !isEmpty;
}