### Question:
HttpServiceFactoryImpl implements ServiceFactory { public Object getService( final Bundle bundle, final ServiceRegistration serviceRegistration ) { LOG.info( "Binding bundle: [" + bundle + "] to http service" ); return createService( bundle ); }  Object getService( final Bundle bundle, final ServiceRegistration serviceRegistration ); void ungetService( final Bundle bundle, final ServiceRegistration serviceRegistration,
                              final Object httpService );  }### Answer:
@Test public void checkGetServiceFlow() { replay( m_bundle, m_serviceRegistration, m_httpService ); Object result = m_underTest.getService( m_bundle, m_serviceRegistration ); assertNotNull( "expect not null", result ); verify( m_bundle, m_serviceRegistration, m_httpService ); }