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

def assertPaused(self, producer):

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