@Test public void builderTest() { System actual = System.builder().name(NAME).componentRelationships(new HashSet<>()).errors(new HashSet<>()) .build(); Assertions.assertThat(System.empty(NAME)).isEqualTo(actual); }
public static SystemBuilder builder() { return new SystemBuilder(); }
System { public static SystemBuilder builder() { return new SystemBuilder(); } }
System { public static SystemBuilder builder() { return new SystemBuilder(); } System(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors);  System(String name, Collection<ComponentRelationships> rels); }
System { public static SystemBuilder builder() { return new SystemBuilder(); } System(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors);  System(String name, Collection<ComponentRelationships> rels); static System of(String name, Collection<ComponentRelationships> rels); static System of(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors); static System of(String name, ComponentRelationships... rels); static System empty(String name); boolean hasErrors(); @Override boolean equals(Object o); @Override int hashCode(); String getName(); Set<ComponentRelationships> getComponentRelationships(); Set<ResolutionError> getErrors(); static SystemBuilder builder(); }
System { public static SystemBuilder builder() { return new SystemBuilder(); } System(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors);  System(String name, Collection<ComponentRelationships> rels); static System of(String name, Collection<ComponentRelationships> rels); static System of(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors); static System of(String name, ComponentRelationships... rels); static System empty(String name); boolean hasErrors(); @Override boolean equals(Object o); @Override int hashCode(); String getName(); Set<ComponentRelationships> getComponentRelationships(); Set<ResolutionError> getErrors(); static SystemBuilder builder();  }