    @Test
    public void testDoStop() throws Exception {

        OsgiDefaultProducer producer = createProducer(Collections.singletonMap("key", (Object) "value"));
        ServiceHelper.startService(producer);
        ServiceHelper.stopService(producer);

        verify(producer.getApplicationBundleContext()).removeServiceListener(Matchers.any(ServiceListener.class));
    }