@Test
public void testAutosaveWithNondefaultUser3() throws Exception {

	RenderRequest renderRequest =
		mockRenderRequestAutosaveWithNondefaultUser();
	DDMFormInstanceSettings ddmFormInstanceSettings =
		mockDDMFormInstanceSettingsAutosaveWithNondefaultUser();
	when(
		ddmFormInstanceSettings.autosaveEnabled()
	).thenReturn(
		Boolean.TRUE
	);
	when(
		_ddmFormWebConfiguration.autosaveInterval()
	).thenReturn(
		0
	);
	DDMFormDisplayContext ddmFormDisplayContext =
		createDDMFormDisplayContext(renderRequest);
	Assert.assertEquals(false, ddmFormDisplayContext.isAutosaveEnabled());
}