def METHOD_NAME(self):
    self.fifo.write(b"ABCD")
    self.fifo.write(b"EF")
    self.assertEqual(self.fifo.read(1), b"A")
    self.assertEqual(self.fifo.read(1), b"B")
    self.assertEqual(self.fifo.read(2), b"CD")
    self.assertEqual(self.fifo.read(), b"EF")