ViatraQueryTest. //Entry point
test(SomeQuerySpecification::instance).
and(AnotherQuerySpecification). // Patterns under test
on(modelURI). // Instance models (optional; snapshot model references the input model)
with(snapshot). // Compare prepared results stored by a snapshot model
with(new ReteBackendFactory). // Compare results produced by the Rete engine
assumeInputs. // checks whether the given snapshots and backend factories are valid for the patterns under test. Throws JUnit assumption error otherwise
assertEquals // compute difference of each given snapshot and pattern executions. Throws JUnit assertion failure if differences occur