CreateEnquiryActivity extends BaseEnquiryActivity { @Override protected void initializeData(Bundle savedInstanceState) throws JSONException, IOException { super.initializeData(savedInstanceState); if (formSections.size() > 0 && formSections.get(0).getName().containsValue("Potential matches")) formSections.remove(0); }  void initializeView();  }
@Test public void testInitializeEnquiry() throws Exception { activity.initializeData(null); assertEquals(activity.enquiry.getClass(), Enquiry.class); }