'Multiple events without a record separator are skipped.'

def test_readUnseparated(self):

    with StringIO(u'\x1e{"x":    1}\n{"y":    2}\n') as fileHandle:
        events = eventsFromJSONLogFile(fileHandle)
        self.assertRaises(StopIteration, next, events)
        self.assertEqual(len(self.errorEvents), 1)
        self.assertEqual(self.errorEvents[0]['log_format'], u'Unable    to    read    JSON    record:    {record!r}')
        self.assertEqual(self.errorEvents[0]['record'], '{"x":    1}\n{"y":    2}\n')
