public void testGetEmergencyPresenter() { Mock <IEmergencyView> emergencyView = new Mock <IEmergencyView>(); EmergencyPresenter emergencyPresenter = presenterFactory.getEmergencyPresenter( emergencyView.Object, AppointmentRepository.getInstance()); Assert.IsNotNull(emergencyPresenter); }