@Test
public void testIfVersionIsNotNull() throws Exception
{

    metadataRetryContext.updateRetryContext( testKey, testMessage, mockVersion );
    verify( retryContext ).setAttribute( testKey, testMessage );
    verify( retryContext ).setAttribute( MetadataSyncJob.VERSION_KEY, mockVersion );
}