public OpenConfigTerminalDeviceHandler addLogicalChannels(
                                           OpenConfigLogicalChannelsHandler logicalChannels) {
        modelObject.logicalChannels(logicalChannels.getModelObject());
        return this;
    }
@Test
    public void testAddLogicalChannels() {
        // test Handler
        OpenConfigTerminalDeviceHandler terminalDevice = new OpenConfigTerminalDeviceHandler();

        // call addLogicalChannels
        OpenConfigLogicalChannelsHandler logicalChannels = new OpenConfigLogicalChannelsHandler(terminalDevice);

        // expected ModelObject
        DefaultTerminalDevice modelObject = new DefaultTerminalDevice();
        DefaultLogicalChannels logicalChan = new DefaultLogicalChannels();
        modelObject.logicalChannels(logicalChan);

        assertEquals("[NG]addLogicalChannels:ModelObject(LogicalChannels added) is not an expected one.\n",
                     modelObject, terminalDevice.getModelObject());
    }