use of gov.cms.qpp.conversion.model.Validator in project qpp-conversion-tool by CMSgov.
the class AggregateCountValidatorTest method testIsAggregateCount.
@Test
void testIsAggregateCount() {
Node aggregateCountNode = new Node(TemplateId.ACI_AGGREGATE_COUNT);
AggregateCountValidator validator = new AggregateCountValidator();
assertWithMessage("validator and node are compatible").that(validator.getClass().getAnnotation(Validator.class).value()).isEqualTo(aggregateCountNode.getType());
}