public class SnippetizerTest {
@ClassRule public static JenkinsRule r = new JenkinsRule();
@Test public void basics() throws Exception {
assertRoundTrip(new EchoStep("hello world"), "echo 'hello world'");
StageStep s = new StageStep("Build");
assertRoundTrip(s, "stage 'Build'");
s.concurrency = 1;
assertRoundTrip(s, "stage concurrency: 1, name: 'Build'");
}