Project extends OwnableEntity { public static Builder builderFrom(Project p) { return new Builder(p); } Project(); void setWorkloads(List<Workload> workloads); List<Workload> getWorkloads(); void addWorkload(Workload userType); void setName(String name); String getName(); void setScriptDriver(ScriptDriver driver); ScriptDriver getScriptDriver(); String getProductName(); void setProductName(String productName); String getComments(); void setComments(String comments); String getWorkloadNames(); void setWorkloadNames(String workloadNames); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); static Builder builder(); static Builder builderFrom(Project p); static final String PROPERTY_NAME; static final String PROPERTY_SCRIPT_DRIVER; static final String PROPERTY_PRODUCT_NAME; static final String PROPERTY_COMMENTS; static final String PROPERTY_WORKLOADS; }
@Test public void testBuilderFrom_1() throws Exception { Project p = new Project(); Project.Builder result = Project.builderFrom(p); assertNotNull(result); }