@Test public void toString_returnsSomething() throws Exception { Assert.assertNotNull("toString() shall return something!",test.toString()); assertToStringContains(NUMBER); assertToStringContains(FNAME); assertToStringContains(SNAME); assertToStringContains(new Money(0)); }
public String toString() { return null; }
BankAccount { public String toString() { return null; } }
BankAccount { public String toString() { return null; } BankAccount(int accountnumber, String fname, String sname); }
BankAccount { public String toString() { return null; } BankAccount(int accountnumber, String fname, String sname); int getAccountnumber(); String getFirstname(); String getSurname(); Money getBalance(); void addMoney(Money m); String toString(); }
BankAccount { public String toString() { return null; } BankAccount(int accountnumber, String fname, String sname); int getAccountnumber(); String getFirstname(); String getSurname(); Money getBalance(); void addMoney(Money m); String toString();  }