@Test
public void testGetSettings() throws Exception {

	when(
		_ddmDataProviderTracker.getDDMDataProvider(Matchers.anyString())
	).thenReturn(
		_ddmDataProvider
	);
	when(
		_ddmDataProvider.getSettings()
	).thenReturn(
		(Class)TestDataProviderInstanceSettings.class
	);
	DDMFormValues ddmFormValues = _createDDMFormValues();
	DDMFormValuesDeserializerDeserializeResponse
		ddmFormValuesDeserializerDeserializeResponse =
			DDMFormValuesDeserializerDeserializeResponse.Builder.newBuilder(
				ddmFormValues
			).build();
	when(
		_ddmFormValuesDeserializer.deserialize(Mockito.any())
	).thenReturn(
		ddmFormValuesDeserializerDeserializeResponse
	);
	TestDataProviderInstanceSettings testDataProviderInstanceSettings =
		_ddmDataProviderInstanceSettingsImpl.getSettings(
			_ddmDataProviderInstance,
			TestDataProviderInstanceSettings.class);
	Assert.assertEquals(
		"string value", testDataProviderInstanceSettings.prop1());
	Assert.assertEquals(
		Integer.valueOf(1), testDataProviderInstanceSettings.prop2());
	Assert.assertEquals(true, testDataProviderInstanceSettings.prop3());
}