def METHOD_NAME(self, mocker):
    """Test fetching segment names."""
    cond1 = mocker.Mock(spec=Condition)
    cond2 = mocker.Mock(spec=Condition)
    cond1.get_segment_names.return_value = ['segment1', 'segment2']
    cond2.get_segment_names.return_value = ['segment3', 'segment4']
    split1 = splits.Split( 'some_split', 123, False, 'off', 'user', 'ACTIVE', 123, [cond1, cond2])
    assert split1.get_segment_names() == ['segment%d' % i for i in range(1, 5)]