@Test
public void getBundle() throws Exception {

    Bundle bundle = run.getDataBundle();
    // Contains a copy of workflow
    assertEquals(wfBundle.getGlobalBaseURI(),
            DataBundles.getWorkflowBundle(bundle).getGlobalBaseURI());
    // Contains a run report
    Path runReport = DataBundles.getWorkflowRunReport(bundle);
    assertTrue(Files.exists(runReport));
    JsonNode runReportJson = DataBundles.getWorkflowRunReportAsJson(bundle);
    assertEquals("COMPLETED", runReportJson.get("state").asText());
}