public void testBelongsTo() throws Exception {
IUserPersistence users = dbs.getDatabase1().users();
User u1 = users.create("bryand", System.currentTimeMillis(), 5, System.currentTimeMillis() + 10, System.currentTimeMillis() + 20, "this is a relatively long string", new byte[]{5, 4, 3, 2, 1}, 1.2d, 3.4d, true);
IPostPersistence posts = dbs.getDatabase1().posts();
Post p1 = posts.create("title", System.currentTimeMillis(), (int)u1.getId(), 0l);
assertEquals(u1, p1.getUser());
}