@Test
public void testFetchDDMDataProviderInstanceNotFound1() throws Exception {

	DDMDataProviderInstanceService ddmDataProviderInstanceService = mock(
		DDMDataProviderInstanceService.class);
	_ddmRESTDataProvider.ddmDataProviderInstanceService =
		ddmDataProviderInstanceService;
	when(
		ddmDataProviderInstanceService.fetchDataProviderInstanceByUuid("id")
	).thenReturn(
		null
	);
	Optional<DDMDataProviderInstance> optional =
		_ddmRESTDataProvider.fetchDDMDataProviderInstance("id");
	Assert.assertFalse(optional.isPresent());
}