def test_finished(self):
        self.enforcer.write(b'x' * 10)
        self.assertIdentical(self.enforcer._noMoreWritesExpected(), None)
If L{LengthEnforcingConsumer._noMoreWritesExpected} is called after
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/LengthEnforcingConsumerTests.test_finished