@Test
public void testNullWorkflowDefinitionManager() throws Exception {

	DDMDataProviderRequest.Builder builder =
		DDMDataProviderRequest.Builder.newBuilder();
	DDMDataProviderRequest ddmDataProviderRequest = builder.withLocale(
		_locale
	).build();
	DDMDataProviderResponse ddmDataProviderResponse =
		_workflowDefinitionsDataProvider.getData(ddmDataProviderRequest);
	Assert.assertTrue(ddmDataProviderResponse.hasOutput("Default-Output"));
	Optional<List<KeyValuePair>> optional =
		ddmDataProviderResponse.getOutputOptional(
			"Default-Output", List.class);
	Assert.assertTrue(optional.isPresent());
	List<KeyValuePair> keyValuePairs = new ArrayList<KeyValuePair>() {
		{
			add(new KeyValuePair("no-workflow", "No Workflow"));
		}
	};
	Assert.assertEquals(keyValuePairs, optional.get());
}