def METHOD_NAME(self):
    """ Do basic controls sequences for colors work?
    """
    string = 'first\x1b[34mblue\x1b[0mlast'
    i = -1
    for i, substring in enumerate(self.processor.split_string(string)):
        if i == 0:
            self.assertEqual(substring, 'first')
            self.assertEqual(self.processor.foreground_color, None)
        elif i == 1:
            self.assertEqual(substring, 'blue')
            self.assertEqual(self.processor.foreground_color, 4)
        elif i == 2:
            self.assertEqual(substring, 'last')
            self.assertEqual(self.processor.foreground_color, None)
        else:
            self.fail('Too many substrings.')
    self.assertEqual(i, 2, 'Too few substrings.')