@Test
public void testSingleWordSubStepDefinition() {

    final Step parent = new Step("ASingleWord", true, new File("./target/test-classes/substeps/bugs.substeps"), 23,
            11);
    Assert.assertNotNull(parent.getPattern());
    final List<Class<?>> stepImplsList = new ArrayList<Class<?>>();
    stepImplsList.add(MockStepImplementations.class);
    // final List<Class<?>> stepImpls = new ArrayList<Class<?>>();
    // stepImpls.add(DuplicateStepImplementations.class);
    final Syntax syntax = SyntaxBuilder.buildSyntax(stepImplsList, new File(
            "./target/test-classes/substeps/bugs.substeps"));
    final List<ParentStep> substeps = syntax.getSubStepsMap().get("AnotherSingleWord");
    Assert.assertNotNull(substeps);
    Assert.assertThat(substeps.size(), is(1));
}