@Test
public void testHide() {

    Feature feature = FeatureParser.parse("classpath:com/intuit/karate/core/test-hide.feature");
    Step step = feature.getStep(0, -1, 0);
    assertTrue(step.isPrefixStar());
    assertFalse(step.isPrint());
    assertEquals("def a = 1", step.getText());
    step = feature.getStep(0, -1, 1);
    assertTrue(step.isPrefixStar());
    assertTrue(step.isPrint());
    assertEquals("print a", step.getText());
    step = feature.getStep(0, -1, 2);
    assertFalse(step.isPrefixStar());
    assertTrue(step.isPrint());
    assertEquals("print a", step.getText());
}