@Test
public void testShouldSendSuccessEmailIfSyncSummaryIsWarning()
{

    metadataSyncSummary.setImportReport( new ImportReport() );
    metadataSyncSummary.getImportReport().setStatus( Status.WARNING );
    metadataSyncSummary.setMetadataVersion( dataVersion );
    MetadataRetryContext mockRetryContext = mock( MetadataRetryContext.class );
    boolean status = metadataSyncPostProcessor.handleSyncNotificationsAndAbortStatus( metadataSyncSummary, mockRetryContext, dataVersion );
    assertFalse( status );
}