MCPcopy Index your code
hub / github.com/assertj/assertj / CartoonCharacter

Class CartoonCharacter

src/test/java/org/assertj/core/test/CartoonCharacter.java:18–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16import java.util.List;
17
18public class CartoonCharacter {
19 private final String name;
20 private final List<CartoonCharacter> children = new ArrayList<CartoonCharacter>();
21
22 public CartoonCharacter(String name) {
23 this.name = name;
24 }
25
26 public String getName() {
27 return name;
28 }
29
30 public List<CartoonCharacter> getChildren() {
31 return children;
32 }
33
34 @Override
35 public String toString() {
36 return "CartoonCharacter [name=" + name + "]";
37 }
38
39
40}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected