DXProject extends DXContainer { public static Builder newProject() { return new Builder(); } private  DXProject(String projectId); private  DXProject(String projectId, DXEnvironment env); static DXProject getInstance(String projectId); static DXProject getInstanceWithEnvironment(String projectId, DXEnvironment env); static Builder newProject(); static Builder newProjectWithEnvironment(DXEnvironment env); Describe describe(); void destroy(); void destroy(boolean terminateJobs);  }
@Test public void testCreatProjectSerialization() throws IOException { Assert.assertEquals(DXJSON.parseJson("{\"name\": \"projectname\"}"), DXProject.newProject() .setName("projectname").buildRequestHash()); }