@Test public void testToString() { assertEquals(String.format("Team(id=%s, name=%s)", id, name), team.toString()); }
@Override public String toString() { return String.format("Team(id=%s, name=%s)", id, name); }
Team { @Override public String toString() { return String.format("Team(id=%s, name=%s)", id, name); } }
Team { @Override public String toString() { return String.format("Team(id=%s, name=%s)", id, name); } Team(UUID id, String name, int budget, User owner);  Team(UUID id, String name, int budget, User owner, List<Member> staff);  Team(UUID id, String name, int budget, User owner, List<Member> staff,
                List<InventoryItem> inventory); protected  Team(); }
Team { @Override public String toString() { return String.format("Team(id=%s, name=%s)", id, name); } Team(UUID id, String name, int budget, User owner);  Team(UUID id, String name, int budget, User owner, List<Member> staff);  Team(UUID id, String name, int budget, User owner, List<Member> staff,
                List<InventoryItem> inventory); protected  Team(); UUID getId(); String getName(); int getBudget(); User getOwner(); List<Member> getStaff(); List<InventoryItem> getInventory(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
Team { @Override public String toString() { return String.format("Team(id=%s, name=%s)", id, name); } Team(UUID id, String name, int budget, User owner);  Team(UUID id, String name, int budget, User owner, List<Member> staff);  Team(UUID id, String name, int budget, User owner, List<Member> staff,
                List<InventoryItem> inventory); protected  Team(); UUID getId(); String getName(); int getBudget(); User getOwner(); List<Member> getStaff(); List<InventoryItem> getInventory(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }