'If L{LengthEnforcingConsumer._noMoreWritesExpected} is called after
the correct number of bytes have been written it returns L{None}.'

def test_finished(self):

    self.enforcer.write(('x' * 10))
    self.assertIdentical(self.enforcer._noMoreWritesExpected(), None)
