@Test
public void testShouldThrowExceptionWhenSyncParamsIsNull()
    throws DhisVersionMismatchException
{

    expectedException.expect( MetadataSyncServiceException.class );
    expectedException.expectMessage( "MetadataSyncParams cant be null" );
    metadataSyncService.doMetadataSync( null );
}