'When given both C{first} and C{last}
L{ServerProtocol.setScrollRegion} writes a control sequence with
the first parameter, a parameter separator, the last
parameter, and finally a C{b\'r\'}.'

def test_setScrollRegionFirstAndLast(self):

    self.protocol.setScrollRegion(first=1, last=2)
    self.assertEqual(self.transport.value(), ((self.CSI + '1;2') + 'r'))
