final Database database = core.getDatabase();
when(sone.newPostBuilder()).thenThrow(IllegalStateException.class);
when(sone.newPostReplyBuilder(Matchers.<String>anyObject())).thenThrow(IllegalStateException.class);
final Database database = core.getDatabase();
when(sone.newPostBuilder()).thenThrow(IllegalStateException.class);
when(sone.newPostReplyBuilder(Matchers.<String>anyObject())).thenThrow(IllegalStateException.class);