@Test
public void updateNodes_nodeInNodeMap_BoardServiceFound()
    throws Exception
{

    insertNodeInNodeMap( getServerNode() );
    addBoardServiceForNode();
    ServerRestService restService = new ServerRestService();
    BaseResponse response = restService.updateNodes( "N1", "power_up" );
    assertNotNull( response );
    assertTrue( 202 == response.getStatusCode() );
    response = restService.updateNodes( "N1", "cold_reset" );
    assertNotNull( response );
    assertTrue( 202 == response.getStatusCode() );
    response = restService.updateNodes( "N1", "hard_reset" );
    assertNotNull( response );
    assertTrue( 202 == response.getStatusCode() );
    response = restService.updateNodes( "N1", "power_down" );
    assertNotNull( response );
    assertTrue( 202 == response.getStatusCode() );
    response = restService.updateNodes( "N1", "power_cycle" );
    assertNotNull( response );
    assertTrue( 202 == response.getStatusCode() );
}