'Contiguous non-control bytes are passed to a single call to the
C{write} method of the terminal to which the L{ClientProtocol} is
connected.'

def test_applicationDataBytes(self):

    occs = occurrences(self.proto)
    self.parser.dataReceived('a')
    self.assertCall(occs.pop(0), 'write', ('a',))
    self.parser.dataReceived('bc')
    self.assertCall(occs.pop(0), 'write', ('bc',))
