@Test public void invalidStructureFails() throws Exception { JsonObject argumentsObj = new JsonObject(); argumentsObj.addProperty("namespace", "ns"); argumentsObj.addProperty("application", "app"); argumentsObj.addProperty("type", "WORKFLOW"); argumentsObj.add("name", new JsonObject()); BootstrapStepResult result = programStarter.execute("label", argumentsObj); Assert.assertEquals(BootstrapStepResult.Status.FAILED, result.getStatus()); } }