@Test public void givenDateMetadataWhenCheckingIsValidForThenReturnTrue() { IsEqualCriterion criterion = new IsEqualCriterion(aDateTime()); assertThat(criterion.isValidFor(dateMetadata)).isTrue(); }
@Test public void givenContentMetadataWhenCheckingIsValidForThenReturnTrue() { IsEqualCriterion criterion = new IsEqualCriterion(aString()); assertThat(criterion.isValidFor(contentMetadata)).isTrue(); }
@Test public void givenReferenceMetadataWhenCheckingIsValidForThenReturnTrue() { IsEqualCriterion criterion = new IsEqualCriterion(anInteger()); assertThat(criterion.isValidFor(referenceMetadata)).isTrue(); }