@Test public void testToString() { String toString = Dependency.on(Component.of("storm", "xmen")).toString(); Assert.assertTrue(toString.contains("storm")); Assert.assertTrue(toString.contains("xmen")); }
public static Dependency on(Component component) { return new Dependency(component); }
Dependency extends Relationship { public static Dependency on(Component component) { return new Dependency(component); } }
Dependency extends Relationship { public static Dependency on(Component component) { return new Dependency(component); } @JsonCreator  Dependency(@JsonProperty("component") Component component); }
Dependency extends Relationship { public static Dependency on(Component component) { return new Dependency(component); } @JsonCreator  Dependency(@JsonProperty("component") Component component); static Dependency on(Component component); Set<Relationship> asRelationshipSet(); @Override int hashCode(); @Override boolean equals(Object o); }
Dependency extends Relationship { public static Dependency on(Component component) { return new Dependency(component); } @JsonCreator  Dependency(@JsonProperty("component") Component component); static Dependency on(Component component); Set<Relationship> asRelationshipSet(); @Override int hashCode(); @Override boolean equals(Object o);  }