assertTableSize( db, "users", 1 );
}
public void testExistingUserIsReturnedWhenDoesntExist() throws Exception {
final Userer u = new Userer();
final TestDatabase db = new TestDatabase();
db.fixture( "singleUser" );
u.setDatabase( db );
///////
assertTableSize( db, "users", 1 );
assertNotNull( u.findOrCreateUser( "foo", "q" ) );
assertTableSize( db, "users", 1 );