IdentifierFieldStrategy extends FieldStrategy<Identifier<? super X, ?>, X> { @Override Assertion createAssertion() { assert !attribute.isInferred(); return Assertion.createClassAssertion(attribute.isInferred()); } IdentifierFieldStrategy(EntityType<X> et, Identifier<? super X, ?> att, Descriptor attributeDescriptor,
                            EntityMappingHelper mapper);   }
@Test public void createAssertionCreatesClassAssertion() { final Assertion assertion = strategy.createAssertion(); assertTrue(assertion.isClassAssertion()); }