@Test
public void should_be_true_when_form_is_ready() {

    TracingForm tracingForm = new TracingForm();
    tracingForm.setForm(new Blob());
    when(tracingFormDao.getTracingForm(PrimeroAppConfiguration.getApiBaseUrl())).thenReturn(tracingForm);
    boolean result = tracingFormService.isReady();
    assertThat(result, is(true));
    verify(tracingFormDao, times(2)).getTracingForm(PrimeroAppConfiguration.getApiBaseUrl());
}