@Test
public void testEditListener() throws JSONException {

    doNothing().when(activity).edit();
    activity.initializeView();
    activity.findViewById(R.id.submit).performClick();
    verify(activity).edit();
}