when(sone.isLocal()).thenReturn(true);
final Database database = core.getDatabase();
when(sone.newPostBuilder()).thenReturn(new DefaultPostBuilder(database, id));
when(sone.isLocal()).thenReturn(true);
final Database database = core.getDatabase();
when(sone.newPostBuilder()).thenReturn(new DefaultPostBuilder(database, id));