dbSession.commit();
assertThat(index.findAll().getTotal()).isEqualTo(1);
Activity activity = Iterables.getFirst(index.findAll().getHits(), null);
assertThat(activity).isNotNull();
assertThat(activity.message()).isEqualTo(testValue);
}
@Test
public void search_message_log() throws InterruptedException {
service.write(dbSession, Activity.Type.QPROFILE, testValue);