@Test(expected = DuplicateStepImplementationException.class)
public void testDuplicateStepImplementaionsThrowError() {

    final List<Class<?>> stepImplsList = new ArrayList<Class<?>>();
    stepImplsList.add(TestStepImplementations.class);
    final List<Class<?>> stepImpls = new ArrayList<Class<?>>();
    stepImpls.add(DuplicateStepImplementations.class);
    SyntaxBuilder.buildSyntax(stepImpls, new File("./target/test-classes/substeps/simple.substeps"));
}