*/
@Test
public void testGetRemoteConfiguration() throws Exception {
instance = mock(AbstractApplicationContextProducer.class);
SpringIntegrationConfiguration remoteConfiguration = new SpringIntegrationConfiguration(
Collections.<String, String>emptyMap());
Instance<SpringIntegrationConfiguration> mockRemoteConfigurationInstance = mock(Instance.class);
when(mockRemoteConfigurationInstance.get()).thenReturn(remoteConfiguration);
TestReflectionHelper.setFieldValue(instance, "remoteConfiguration", mockRemoteConfigurationInstance);
doCallRealMethod().when(instance).getRemoteConfiguration();
SpringIntegrationConfiguration result = instance.getRemoteConfiguration();
assertNotNull("The result was null.", result);
}