'Assert that the given producer is in the stopped state.
@param producer: The producer to verify.
@type producer: L{StrictPushProducer}'

def assertStopped(self, producer):

    self.assertEqual(producer._state, u'stopped')
