mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
#2641 - Add a simple integration test for toString() implementation
This commit is contained in:
1 parent
21c2232d96
commit
0a43b64f71
1 file changed
+3
@@ -270,6 +270,9 @@ public class QCustomerTest {
|
||||
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user