def METHOD_NAME(self):
    ttl_signal = generate_mock_ttl_signal(
        signal_duration=7.0,
        ttl_times=None,
        ttl_duration=1.0,
        sampling_frequency_hz=25_000.0,
        dtype="int16",
        baseline_mean=None,
        signal_mean=None,
        channel_noise=None,
        random_seed=0,
    )
    rising_frames = get_rising_frames_from_ttl(trace=ttl_signal)
    falling_frames = get_falling_frames_from_ttl(trace=ttl_signal)
    expected_rising_frames = np.array([25_000, 75_000, 125_000])
    assert_array_equal(x=rising_frames, y=expected_rising_frames)
    expected_falling_frames = np.array([50_000, 100_000, 150_000])
    assert_array_equal(x=falling_frames, y=expected_falling_frames)