def METHOD_NAME():
    """Test method"""
    testFailCount = 0
    testMessages = []
    unitTaskName = "unitTask"
    unitProcessName = "TestProcess"
    unitTestSim = SimulationBaseClass.SimBaseClass()
    testProcessRate = macros.sec2nano(0.5)
    testProc = unitTestSim.CreateNewProcess(unitProcessName)
    testProc.addTask(unitTestSim.CreateNewTask(unitTaskName, testProcessRate))
    # setup module to be tested
    module = mappingInstrument.MappingInstrument()
    module.ModelTag = "mappingInstrumentTag"
    unitTestSim.AddModelToTask(unitTaskName, module)
    module.nodeBaudRate = 1.
    # Configure blank module input messages
    accessInMsgData1 = messaging.AccessMsgPayload()
    accessInMsgData1.hasAccess = 1
    accessInMsg1 = messaging.AccessMsg().write(accessInMsgData1)
    accessInMsgData2 = messaging.AccessMsgPayload()
    accessInMsgData2.hasAccess = 0
    accessInMsg2 = messaging.AccessMsg().write(accessInMsgData2)
    # subscribe input messages to module
    module.addMappingPoint(accessInMsg1, '1')
    module.addMappingPoint(accessInMsg2, 'data2')
    # setup output message recorder objects
    dataLogs = []
    for idx in range(0, 2):
        dataLogs.append(module.dataNodeOutMsgs[idx].recorder())
        unitTestSim.AddModelToTask(unitTaskName, dataLogs[idx])
    unitTestSim.InitializeSimulation()
    unitTestSim.ConfigureStopTime(macros.sec2nano(1.0))
    unitTestSim.ExecuteSimulation()
    # pull module data and make sure it is correct
    dataAmt = []
    dataNames = []
    for idx in range(0, 2):
        dataNames.append(dataLogs[idx].dataName)
        dataAmt.append(dataLogs[idx].baudRate)
    dataAmt = np.array(dataAmt)
    dataNames = np.array(dataNames)
    if not np.array_equal(dataAmt[0,:], np.array([1., 1., 1.])):
        testFailCount += 1
    if not np.array_equal(dataAmt[1,:], np.array([0., 0., 0.])):
        testFailCount += 1
    if not np.array_equal(dataNames[0,:], np.array(['1', '1', '1'])):
        testFailCount += 1
    if not np.array_equal(dataNames[1,:], np.array(['data2', 'data2', 'data2'])):
        testFailCount += 1
    if testFailCount == 0:
        print("PASSED: " + module.ModelTag)
    else:
        print(testMessages)
    return [testFailCount, "".join(testMessages)]