@Test(expected = NullPointerException.class) public void constructorWithNullNameShouldThrowNullPointerException() { ComponentRelationships c = ComponentRelationships.of(TestHelper.componentA(), TestHelper.relationshipSetOfDependencyBAndConsumerC()); new System(null, new HashSet<>(Arrays.asList(c))); }
public static System of(String name, Collection<ComponentRelationships> rels) { return new System(name, rels); }
System { public static System of(String name, Collection<ComponentRelationships> rels) { return new System(name, rels); } }
System { public static System of(String name, Collection<ComponentRelationships> rels) { return new System(name, rels); } System(String name, Collection<ComponentRelationships> rels, Collection<ResolutionError> errors);  System(String name, Collection<ComponentRelationships> rels); }
System { public static System of(String name, Collection<ComponentRelationships> rels) { return new System(name, rels); } 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 System of(String name, Collection<ComponentRelationships> rels) { return new System(name, rels); } 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();  }