    @Test
    public void start() throws Exception {

        final StartMojo mojo = mojo(StartMojo.class, "jobName", "simple");
        mojo.execute();
        final String output = BatchEEMojoTestFactory.output(mojo);
        final long id = Long.parseLong(output.substring(output.lastIndexOf("#") + 1).trim());
        waitForEnd(mojo.getOrCreateOperator(), id);
        assertNotNull(mojo.getOrCreateOperator().getJobExecution(id));
        assertTrue(output.toLowerCase(Locale.ENGLISH).contains("started"));
    }