def METHOD_NAME(self):
    CHL1 = pnl.ContrastiveHebbianMechanism(
            input_size=2, hidden_size=0, target_size=2,
            additional_output_ports=[pnl.PLUS_PHASE_ACTIVITY, pnl.MINUS_PHASE_ACTIVITY])
    assert len(CHL1.output_ports)==5
    assert pnl.PLUS_PHASE_ACTIVITY in CHL1.output_ports.names
    CHL2 = pnl.ContrastiveHebbianMechanism(
            input_size=2, hidden_size=0, target_size=2,
            additional_output_ports=[pnl.PLUS_PHASE_ACTIVITY, pnl.MINUS_PHASE_ACTIVITY],
            separated=False)
    assert len(CHL2.output_ports)==5
    assert pnl.PLUS_PHASE_ACTIVITY in CHL2.output_ports.names