@Test
public void shouldLoadDefaultFormSections() throws IOException {

    when(sharedPreferences.getString(FormService.FORM_SECTIONS_PREF, null)).thenReturn(null);
    int noOfChildFormSectionsBeforeDownload = 10, noOfEnquiryFormSectionsBeforeDownload = 7;
    assertEquals(noOfChildFormSectionsBeforeDownload, formService.getFormSections(Child.CHILD_FORM_NAME).size());
    assertEquals(noOfEnquiryFormSectionsBeforeDownload, formService.getFormSections(Enquiry.ENQUIRY_FORM_NAME).size());
}