@Test
public void addFruIDtoHostEventsTest()
{

    List<Event> events = new ArrayList<Event>();
    List<Event> hostEventsFruID = new ArrayList<Event>();
    Event event = new Event();
    Body body = new Body();
    Header header = new Header();
    try
    {
        // Construct SYSTEM Event for Testing
        body.setDescription( "System Status for rack EVO:RACK node N5 System PCIe Slot1 health StateDeasserted" );
        Map<String, String> data = new HashMap<String, String>();
        data.put( "unit", "DISCRETE" );
        data.put( "eventName", "SYSTEM_STATUS" );
        body.setData( data );
        Map<EventComponent, String> compIdentifier = new HashMap<EventComponent, String>();
        compIdentifier.put( EventComponent.SYSTEM, "PCIe Slot1" );
        compIdentifier.put( EventComponent.SERVER, "N5" );
        header.addComponentIdentifier( compIdentifier );
        header.setAgent( "HMS" );
        // header.setEventName(EventCatalog.SYSTEM_STATUS);
        header.setSeverity( EventSeverity.INFORMATIONAL );
        header.setVersion( "1.0" );
        event.setBody( body );
        event.setHeader( header );
        events.add( event );
        String serverFruID = "1676845885";
        hostEventsFruID = FruIdEventsHelperUtil.addFruIDtoHostEvents( events, serverFruID );
        Map<String, String> eventData = hostEventsFruID.get( 0 ).getBody().getData();
        assertNotNull( eventData.get( "fruID" ) );
    }
    catch ( Exception e )
    {
        logger.info( "Integrate FRU ID with Host Events Test Failed" );
    }
}