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