@Test
public void testShouldGetRemoteVersionNullWhenDhisResponseReturnsNull()
{

    AvailabilityStatus availabilityStatus = new AvailabilityStatus( true, "test_message", null );
    when( synchronizationManager.isRemoteServerAvailable() ).thenReturn( availabilityStatus );
    MetadataVersion version = target.getRemoteMetadataVersion( "testVersion" );
    assertNull( version );
}