@Test
public void testShouldThrowExceptionWhenNoVersionSet()
{

    syncParams.setImportParams( null );
    expectedException.expect( MetadataSyncServiceException.class );
    expectedException.expectMessage( "MetadataVersion for the Sync cant be null." );
    metadataSyncImportHandler.importMetadata( syncParams, expectedMetadataSnapshot );
}