@Test public void testValidate() { final Consumer<Collection<DiagramElementViolation<RuleViolation>>> consumer = (e) -> {}; doReturn(consumer).when(validator).getCollectionConsumer(diagram, violationsConsumer); doNothing().when(validator).superValidate(any(), any()); validator.validate(diagram, violationsConsumer); verify(validator).superValidate(diagram, consumer); }
@Override public void validate(final Diagram diagram, final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer) { superValidate(diagram, getCollectionConsumer(diagram, resultConsumer)); }
DMNClientDiagramValidator extends ClientDiagramValidator { @Override public void validate(final Diagram diagram, final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer) { superValidate(diagram, getCollectionConsumer(diagram, resultConsumer)); } }
DMNClientDiagramValidator extends ClientDiagramValidator { @Override public void validate(final Diagram diagram, final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer) { superValidate(diagram, getCollectionConsumer(diagram, resultConsumer)); } protected  DMNClientDiagramValidator(); @Inject  DMNClientDiagramValidator(final DefinitionManager definitionManager,
                                     final RuleManager ruleManager,
                                     final TreeWalkTraverseProcessor treeWalkTraverseProcessor,
                                     final ModelValidator modelValidator,
                                     final ManagedInstance<DomainValidator> validators,
                                     final Caller<DMNDomainValidator> dmnDomainValidator,
                                     final DMNMarshallerService dmnMarshallerService); }
DMNClientDiagramValidator extends ClientDiagramValidator { @Override public void validate(final Diagram diagram, final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer) { superValidate(diagram, getCollectionConsumer(diagram, resultConsumer)); } protected  DMNClientDiagramValidator(); @Inject  DMNClientDiagramValidator(final DefinitionManager definitionManager,
                                     final RuleManager ruleManager,
                                     final TreeWalkTraverseProcessor treeWalkTraverseProcessor,
                                     final ModelValidator modelValidator,
                                     final ManagedInstance<DomainValidator> validators,
                                     final Caller<DMNDomainValidator> dmnDomainValidator,
                                     final DMNMarshallerService dmnMarshallerService); @Override void validate(final Diagram diagram,
                         final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer); }
DMNClientDiagramValidator extends ClientDiagramValidator { @Override public void validate(final Diagram diagram, final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer) { superValidate(diagram, getCollectionConsumer(diagram, resultConsumer)); } protected  DMNClientDiagramValidator(); @Inject  DMNClientDiagramValidator(final DefinitionManager definitionManager,
                                     final RuleManager ruleManager,
                                     final TreeWalkTraverseProcessor treeWalkTraverseProcessor,
                                     final ModelValidator modelValidator,
                                     final ManagedInstance<DomainValidator> validators,
                                     final Caller<DMNDomainValidator> dmnDomainValidator,
                                     final DMNMarshallerService dmnMarshallerService); @Override void validate(final Diagram diagram,
                         final Consumer<Collection<DiagramElementViolation<RuleViolation>>> resultConsumer);  }