@Test
public void addFruIDtoStorageEventsTest()
{

    List<Event> events = new ArrayList<Event>();
    List<Event> storageEventsFruID = new ArrayList<Event>();
    Event event = new Event();
    Body body = new Body();
    Header header = new Header();
    try
    {
        // Construct Storage/HDD Event for Testing
        body.setDescription( "Storage drive for rack EVO:RACK node N3 and HDD HDD_0 drive slot is full: DrivePresence" );
        Map<String, String> data = new HashMap<String, String>();
        data.put( "unit", "DISCRETE" );
        data.put( "eventName", "HDD_SLOT_FULL" );
        body.setData( data );
        Map<EventComponent, String> compIdentifier = new HashMap<EventComponent, String>();
        compIdentifier.put( EventComponent.STORAGE, "0" );
        compIdentifier.put( EventComponent.SERVER, "N5" );
        header.addComponentIdentifier( compIdentifier );
        header.setAgent( "HMS" );
        header.setEventName( EventCatalog.HDD_UP );
        header.setSeverity( EventSeverity.INFORMATIONAL );
        header.setVersion( "1.0" );
        event.setBody( body );
        event.setHeader( header );
        events.add( event );
        // Construct Storage/HDD FRU Information
        List<StorageInfo> storageInfoList = new ArrayList<StorageInfo>();
        StorageInfo storageInfo = new StorageInfo();
        ComponentIdentifier cpuComponentIdentifier = new ComponentIdentifier();
        cpuComponentIdentifier.setManufacturer( "ATA" );
        cpuComponentIdentifier.setProduct( "32G MLC SATADOM" );
        storageInfo.setComponentIdentifier( cpuComponentIdentifier );
        storageInfo.setDiskCapacityInMB( 29579 );
        storageInfo.setHostId( "N5" );
        storageInfo.setFruId( "-9080809091211679985" );
        storageInfo.setDiskType( "SSD" );
        storageInfo.setLocation( "0" );
        storageInfo.setId( "0" );
        storageInfoList.add( storageInfo );
        storageEventsFruID = FruIdEventsHelperUtil.addFruIDtoStorageEvents( events, storageInfoList );
        Map<String, String> eventData = storageEventsFruID.get( 0 ).getBody().getData();
        assertNotNull( eventData.get( "fruID" ) );
    }
    catch ( Exception e )
    {
        logger.info( "Integrate FRU ID with Storage or HDD Events Test Failed" );
    }
}