def METHOD_NAME(self):
    """Test LACP port options"""
    port = Port(1, 1, {})
    port.enabled = True
    port.dyn_phys_up = True
    # Port defaults to NOTCONFIGURED
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_NOTCONFIGURED)
    # Now call update to configure port and get initial state
    #   depending on the chosen DP
    port.lacp_port_update(False)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_UNSELECTED)
    # Now select our the port's current DP
    port.lacp_port_update(True)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_SELECTED)
    # Test option to force standby mode
    # Option forces the statemachine to revert to STANDBY mode when not selected
    port.lacp_standby = True
    port.lacp_port_update(True)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_SELECTED)
    port.lacp_port_update(False)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_STANDBY)
    # Test forcing selected port
    port.lacp_standby = False
    port.lacp_selected = True
    port.lacp_port_update(False)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_SELECTED)
    # Test forcing unselected port
    port.lacp_selected = False
    port.lacp_unselected = True
    port.lacp_port_update(True)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_UNSELECTED)
    # Test reverting to unconfigured on port cold start
    port.lacp_unselected = False
    port.lacp_port_update(False, True)
    self.assertEqual(port.dyn_lacp_port_selected, LACP_PORT_NOTCONFIGURED)