'When L{FileDescriptor.writeSomeData} returns C{0} to indicate no more
data can be written immediately, L{FileDescriptor.doWrite} returns
L{None}.'

def test_kernelBufferFull(self):

    descriptor = MemoryFile()
    descriptor.write('hello,    world')
    self.assertIsNone(descriptor.doWrite())
