@Test
  public void testFilesMojo_multiModule() throws IOException, VerificationException {
    List<String> outputs = getJsons(multiTestProject);
    Assert.assertEquals(3, outputs.size());

    SkaffoldInitOutput skaffoldInitOutput = new SkaffoldInitOutput(outputs.get(0));
    Assert.assertEquals("testimage", skaffoldInitOutput.getImage());
    Assert.assertEquals("com.jib.test:simple-service", skaffoldInitOutput.getProject());

    skaffoldInitOutput = new SkaffoldInitOutput(outputs.get(1));
    Assert.assertEquals("testimage", skaffoldInitOutput.getImage());
    Assert.assertEquals("com.jib.test:lib", skaffoldInitOutput.getProject());

    skaffoldInitOutput = new SkaffoldInitOutput(outputs.get(2));
    Assert.assertEquals("testimage", skaffoldInitOutput.getImage());
    Assert.assertEquals("com.jib.test:complex-service", skaffoldInitOutput.getProject());
  }
Verifies that the files task succeeded and returns the list of JSON strings printed by the
task.

@param project the project to run the task on
@return the JSON strings printed by the task
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/skaffold/InitMojoTest.java