FoamMain { void start(){ initializeServices(); startCustomExceptionHandler(); startLogListener(); startEventTracker(); } FoamMain(Context context);   }
@Test public void testStart(){ FoamMain foamMain = mock(FoamMain.class); doCallRealMethod().when(foamMain).start(); foamMain.start(); verify(foamMain).start(); verify(foamMain).initializeServices(); verify(foamMain).startCustomExceptionHandler(); verify(foamMain).startLogListener(); verify(foamMain).startEventTracker(); verifyNoMoreInteractions(foamMain); }