def METHOD_NAME():
    """
    Test present function, not specifying a parent.
    This tests the case where the bridge already exists and has a parent.
    """
    create_mock = MagicMock()
    exists_mock = MagicMock(return_value=True)
    to_parent_mock = MagicMock(return_value="br0")
    to_vlan_mock = MagicMock(return_value=42)
    with patch.dict(
        openvswitch_bridge.__salt__,
        {
            "openvswitch.bridge_create": create_mock,
            "openvswitch.bridge_exists": exists_mock,
            "openvswitch.bridge_to_parent": to_parent_mock,
            "openvswitch.bridge_to_vlan": to_vlan_mock,
        },
    ):
        # Bridge exists, but parent and VLAN do not match, so we expect a
        # result of False.
        ret = openvswitch_bridge.present(name="br1")
        create_mock.assert_not_called()
        assert ret["result"] is False