示例#1
0
  @Before
  @Override
  public void setUp() throws Exception {
    super.setUp();

    m_notif = m_notificationManager.getNotification("nodeDown");
    MockNode node = m_network.getNode(1);
    Event nodeDownEvent = node.createDownEvent();

    m_params = m_eventProcessor.buildParameterMap(m_notif, nodeDownEvent, 1);
    m_commands = new String[] {"email"};
  }
示例#2
0
 @After
 @Override
 public void tearDown() throws Exception {
   super.tearDown();
 }