DXApplet extends DXDataObject implements DXExecutable<DXJob> { public static Builder newApplet() { return new Builder(); } private  DXApplet(String appletId, DXContainer project, DXEnvironment env, JsonNode describe); private  DXApplet(String appletId, DXEnvironment env); static DXApplet getInstance(String appletId); static DXApplet getInstance(String appletId, DXContainer project); static DXApplet getInstanceWithEnvironment(String appletId, DXContainer project,
            DXEnvironment env); static DXApplet getInstanceWithEnvironment(String appletId, DXEnvironment env); static Builder newApplet(); static Builder newAppletWithEnvironment(DXEnvironment env); @Override Describe describe(); @Override Describe describe(DXDataObject.DescribeOptions options); @Override Describe getCachedDescribe(); @Override ExecutableRunner<DXJob> newRun();  }
@Test public void testBuilder() { DXDataObjectTest.testBuilder(testProject, new DXDataObjectTest.BuilderFactory<DXApplet.Builder, DXApplet>() { @Override public DXApplet.Builder getBuilder() { return DXApplet.newApplet().setRunSpecification( RunSpecification.newRunSpec("bash", "false;", "Ubuntu", "14.04").build()); } }); }