#2641 - Add a simple integration test for toString() implementation

This commit is contained in:
Rob Bygrave committed 2022-04-11 13:52:30 +12:00
1 parent 21c2232d96
commit 0a43b64f71
1 file changed
+3
@@ -270,6 +270,9 @@ public class QCustomerTest {
assertThat(foo).hasSize(1); assertThat(foo).hasSize(1);
} }
Customer customer = DB.find(Customer.class, cust.getId());
assertThat(customer.toString()).contains("Customer@0(id:1, status:GOOD, inactive:false, name:usingConnection, version:1, whenCreated:");
} }
@Test @Test