def METHOD_NAME(self, widget):
    '''Test the range slider initializer'''
    # Set a color map from the direct list
    widget._cmap = "gnuplot"
    widget.initRangeSlider()
    # Check the values
    assert widget.slider.minimum() == 0
    assert widget.slider.maximum() == 100
    assert widget.slider.orientation() == 1
    # Emit new low value
    widget.slider.lowValueChanged.emit(5)
    # Assure the widget received changes
    assert widget.txtMinAmplitude.text() == "5"
    # Emit new high value
    widget.slider.highValueChanged.emit(45)
    # Assure the widget received changes
    assert widget.txtMaxAmplitude.text() == "45"