def METHOD_NAME(self):
    with self.assertRaisesWith(
        exc_type=AssertionError,
        exc_msg=("There are overlapping TTL 'on' intervals! Please specify disjoint on/off periods."),
    ):
        generate_mock_ttl_signal(ttl_times=[1.2, 1.5, 1.6], ttl_duration=0.2)