@Test
public void testFetchDataProviderNotFound() throws Exception {

	DDMDataProviderInvokerImpl ddmDataProviderInvokerImpl =
		new DDMDataProviderInvokerImpl();
	DDMDataProviderInstanceService ddmDataProviderInstanceService = mock(
		DDMDataProviderInstanceService.class);
	ddmDataProviderInvokerImpl.ddmDataProviderInstanceService =
		ddmDataProviderInstanceService;
	when(
		ddmDataProviderInstanceService.fetchDataProviderInstanceByUuid(
			"test")
	).thenReturn(
		null
	);
	Optional<DDMDataProviderInstance> optional =
		ddmDataProviderInvokerImpl.fetchDDMDataProviderInstanceOptional(
			"test");
	Assert.assertFalse(optional.isPresent());
}