@Test void getNameShouldReturnSuppliedValue() { String name = "org.apache.MyClass"; assertThat(new FullyQualifiedClassName(name).getName()) .isEqualTo(name); }
public String getName() { return name; }
FullyQualifiedClassName { public String getName() { return name; } }
FullyQualifiedClassName { public String getName() { return name; } FullyQualifiedClassName(String name); }
FullyQualifiedClassName { public String getName() { return name; } FullyQualifiedClassName(String name); String getName(); @Override final boolean equals(Object o); @Override final int hashCode(); }
FullyQualifiedClassName { public String getName() { return name; } FullyQualifiedClassName(String name); String getName(); @Override final boolean equals(Object o); @Override final int hashCode();  }