    @Test(expected = IllegalStateException.class)
    public void testStopService() throws InterruptedException
    {

        TestServiceOnWorkerThread serviceInterface = Acacia.createService(
                Robolectric.application, TestServiceOnWorkerThread.class);

        Acacia.stopService(serviceInterface);

        assertTrue(shadowOf(androidService).isStoppedBySelf());

        Class<? extends ServiceConnection> unboundConn = shadowOf(Robolectric.application).
                getUnboundServiceConnections().get(0).getClass();
        assertEquals(ServiceProxy.class, unboundConn);

        serviceInterface.getIntPrimitive();
    }