@Test
public void testIfSummaryIsNotNull() throws Exception
{

    MetadataSyncSummary testSummary = new MetadataSyncSummary();
    ImportReport importReport = new ImportReport();
    importReport.setStatus( Status.ERROR );
    testSummary.setImportReport( importReport );
    metadataRetryContext.updateRetryContext( testKey, testMessage, mockVersion, testSummary );
    verify( retryContext ).setAttribute( testKey, testMessage );
}