@Test
public void testDoGetDataServiceUnavailable() throws Exception {

	DDMDataProviderInstanceService ddmDataProviderInstanceService = mock(
		DDMDataProviderInstanceService.class);
	_ddmRESTDataProvider.ddmDataProviderInstanceService =
		ddmDataProviderInstanceService;
	when(
		ddmDataProviderInstanceService.fetchDataProviderInstanceByUuid("id")
	).thenReturn(
		null
	);
	DDMDataProviderRequest.Builder builder =
		DDMDataProviderRequest.Builder.newBuilder();
	DDMDataProviderRequest ddmDataProviderRequest =
		builder.withDDMDataProviderId(
			"id"
		).build();
	DDMDataProviderResponse ddmDataProviderResponse =
		_ddmRESTDataProvider.doGetData(ddmDataProviderRequest);
	Assert.assertEquals(
		DDMDataProviderResponseStatus.SERVICE_UNAVAILABLE,
		ddmDataProviderResponse.getStatus());
}