@Test
public void testGetNodeById() throws MonitorException {

    List<ResourceNode> nodelist = rmc.getNodes();
    ResourceNode node = rmc.getNodeById(nodelist.get(0).getNodeId());
    assertThat(node, is(not(nullValue())));
    assertThat(node.getNodeId(), equalTo("localhost"));
}