DDMFormInstanceRecordExporterImpl implements DDMFormInstanceRecordExporter { protected Map<String, DDMFormField> getNontransientDDMFormFieldsMap( DDMStructureVersion ddmStructureVersion) { DDMForm ddmForm = ddmStructureVersion.getDDMForm(); return ddmForm.getNontransientDDMFormFieldsMap(true); }  @Override DDMFormInstanceRecordExporterResponse export(
			DDMFormInstanceRecordExporterRequest
				ddmFormInstanceRecordExporterRequest);  }
@Test public void testGetNontransientDDMFormFieldsMap() { DDMFormInstanceRecordExporterImpl ddmFormInstanceRecordExporterImpl = new DDMFormInstanceRecordExporterImpl(); DDMStructureVersion ddmStructureVersion = mock( DDMStructureVersion.class); DDMForm ddmForm = mock(DDMForm.class); when( ddmStructureVersion.getDDMForm() ).thenReturn( ddmForm ); ddmFormInstanceRecordExporterImpl.getNontransientDDMFormFieldsMap( ddmStructureVersion); InOrder inOrder = Mockito.inOrder(ddmStructureVersion, ddmForm); inOrder.verify( ddmStructureVersion, Mockito.times(1) ).getDDMForm(); inOrder.verify( ddmForm, Mockito.times(1) ).getNontransientDDMFormFieldsMap( true ); }