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 WireguardTestMain { public static void main(String[] args) throws Exception { var c = new RunCommand(); c.name = "acme"; c.input = new File("acme.yaml"); c.outputState = new File("out/acme/wireguard.yaml"); c.agendaGroups = new String[]{"init", "generate"}; c.generatedOutput = new File("acme-wireguard"); assertEquals(0, c.call()); } }