@Test(expected = EndPointStatusException.class)
  @JUnitSnmpAgent(host = "192.168.254.10", resource = "/horizon_duo_walk.properties")
  public void dwoTestLinkMonitorHorizonDuoCapacity3DownModemLossSignal()
      throws UnknownHostException, EndPointStatusException {
    SnmpUtils.set(
        getAgentConfig("192.168.254.10"),
        SnmpObjId.get(HORIZON_DUO_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(2));
    SnmpUtils.set(
        getAgentConfig("192.168.254.10"),
        SnmpObjId.get(HORIZON_DUO_SYSTEM_CAPACITY),
        SnmpUtils.getValueFactory().getCounter32(3));

    EndPoint endPoint = getEndPoint(HORIZON_DUO_SYS_OID, "192.168.254.10");

    m_configDao.getValidator().validate(endPoint);
  }
  @Test(expected = EndPointStatusException.class)
  @JUnitSnmpAgent(host = "192.168.255.31", resource = "/horizon_compact_walk.properties")
  public void dwoTestLinkMonitorHorizonCompactDownEthernetLinkDown()
      throws EndPointStatusException, UnknownHostException {
    SnmpUtils.set(
        getAgentConfig("192.168.255.31"),
        SnmpObjId.get(HORIZON_COMPACT_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(1));
    SnmpUtils.set(
        getAgentConfig("192.168.255.31"),
        SnmpObjId.get(HORIZON_COMPACT_ETHERNET_LINK_DOWN),
        SnmpUtils.getValueFactory().getCounter32(2));

    EndPoint endPoint = getEndPoint(HORIZON_COMPACT_SYS_OID, "192.168.255.31");

    m_configDao.getValidator().validate(endPoint);
  }
  @Test(expected = EndPointStatusException.class)
  @JUnitSnmpAgent(host = "192.168.255.10", resource = "classpath:/airPairR3_walk.properties")
  public void dwoTestLinkMonitorAirPair3DownLossOfSignal()
      throws UnknownHostException, EndPointStatusException {
    SnmpUtils.set(
        getAgentConfig("192.168.255.10"),
        SnmpObjId.get(AIR_PAIR_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(2));
    SnmpUtils.set(
        getAgentConfig("192.168.255.10"),
        SnmpObjId.get(AIR_PAIR_R3_DUPLEX_MISMATCH),
        SnmpUtils.getValueFactory().getCounter32(1));

    EndPointImpl endPoint = getEndPoint(AIR_PAIR_R3_SYS_OID, "192.168.255.10");

    m_configDao.getValidator().validate(endPoint);
  }
  @Test
  @Ignore
  @JUnitSnmpAgent(host = "192.168.255.20", resource = "/airPairR4_walk.properties")
  public void dwoTestLinkMonitorAirPairR4() throws UnknownHostException {
    SnmpUtils.set(
        getAgentConfig("192.168.255.20"),
        SnmpObjId.get(AIR_PAIR_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(1));
    SnmpUtils.set(
        getAgentConfig("192.168.255.20"),
        SnmpObjId.get(AIR_PAIR_R4_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(1));

    EndPointImpl endPoint = getEndPoint(AIR_PAIR_R4_SYS_OID, "192.168.255.20");

    try {
      m_configDao.getValidator().validate(endPoint);
    } catch (EndPointStatusException e) {
      assertTrue("An EndPointStatusException was caught resulting in a failed test", false);
    }
  }
  @Test
  @JUnitSnmpAgent(host = "192.168.255.10", resource = "classpath:/airPairR3_walk.properties")
  public void dwoTestLinkMonitorAirPairR3() throws UnknownHostException {
    SnmpUtils.set(
        getAgentConfig("192.168.255.10"),
        SnmpObjId.get(AIR_PAIR_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(1));
    SnmpUtils.set(
        getAgentConfig("192.168.255.10"),
        SnmpObjId.get(AIR_PAIR_R3_DUPLEX_MISMATCH),
        SnmpUtils.getValueFactory().getCounter32(1));

    EndPointImpl endPoint = getEndPoint(AIR_PAIR_R3_SYS_OID, "192.168.255.10");

    EndPointTypeValidator validator = m_configDao.getValidator();
    try {
      validator.validate(endPoint);
    } catch (EndPointStatusException e) {
      assertTrue(false);
    }
  }
  @Test
  @JUnitSnmpAgent(host = "192.168.255.31", resource = "/horizon_compact_walk.properties")
  public void dwoTestLinkMonitorHorizonCompact() throws UnknownHostException {
    SnmpUtils.set(
        getAgentConfig("192.168.255.31"),
        SnmpObjId.get(HORIZON_COMPACT_MODEM_LOSS_OF_SIGNAL),
        SnmpUtils.getValueFactory().getCounter32(1));
    SnmpUtils.set(
        getAgentConfig("192.168.255.31"),
        SnmpObjId.get(HORIZON_COMPACT_ETHERNET_LINK_DOWN),
        SnmpUtils.getValueFactory().getCounter32(1));

    EndPointImpl endPoint = getEndPoint(HORIZON_COMPACT_SYS_OID, "192.168.255.31");

    try {
      m_configDao.getValidator().validate(endPoint);
    } catch (Throwable e) {
      assertTrue(
          "An EndPointStatusException was thrown which shouldn't have and thats why the test failed",
          false);
    }
  }