def METHOD_NAME(mock_load, mock_dump):
    """test the connection action in the cot manager
    """
    setup = ComponentTest(TEST_CONNECTION_SCHEMA)
    # define the output dictionary of the mocked persistency output
    mock_load.return_value = {str(setup.mock_node.get_oid()): setup.mock_node}
    # instantiate the facade
    facade = CotManagement(None, setup.request, setup.response, None)
    # initialize the facade
    facade.initialize(setup.request, setup.response)
    # call the connection method from the facade
    facade.connection(**setup.request.get_values())
    # assert that the next action is publish
    assert setup.response.get_action() == setup.test_obj['response']['action']
    # assert the message value is correct
    setup.assert_schema_to_response_val(setup.test_obj['response']['values'])