package io.trygvis.rules.engine; import io.trygvis.rules.engine.cli.RunCommand; import java.io.File; import static org.junit.jupiter.api.Assertions.assertEquals; class AcmeAppsTestMain { public static void main(String[] args) throws Exception { var c = new RunCommand(); c.name = "acme-apps"; c.input = new File[]{new File("acme.yaml")}; c.outputState = new File("out/acme/apps.yaml"); c.agendaGroups = new String[]{"init", "generate"}; c.generatedOutput = new File("acme-apps"); assertEquals(0, c.call()); } }