def METHOD_NAME(position, splitter_count, window_visible,
                      fake_inspector, splitter):
    fake_inspector.set_position(position)
    assert splitter.count() == splitter_count
    assert (fake_inspector.isWindow() and
            fake_inspector.isVisible()) == window_visible