'Verify that the C{write} method of the transport of a protocol
connected to L{StandardIO} sends bytes to standard out.'

def test_write(self):

    p = StandardIOTestProcessProtocol()
    d = p.onCompletion
    self._spawnProcess(p, 'stdio_test_write')
    def processEnded(reason):
        self.assertEqual(p.data[1], 'ok!')
        reason.trap(error.ProcessDone)
    return self._requireFailure(d, processEnded)
