DDMFormInstanceRecordWriterTrackerImpl implements DDMFormInstanceRecordWriterTracker { @Deactivate protected void deactivate() { _ddmFormInstanceRecordWriterExtensions.clear(); _ddmFormInstanceRecordWriters.clear(); }  @Override DDMFormInstanceRecordWriter getDDMFormInstanceRecordWriter(
		String type); @Override Map<String, String> getDDMFormInstanceRecordWriterExtensions();  }
@Test public void testDeactivate() { DDMFormInstanceRecordWriterTrackerImpl ddmFormInstanceRecordWriterTrackerImpl = new DDMFormInstanceRecordWriterTrackerImpl(); addDDMFormInstanceRecordCSVWriter( ddmFormInstanceRecordWriterTrackerImpl); ddmFormInstanceRecordWriterTrackerImpl.deactivate(); Map<String, String> ddmFormInstanceRecordWriterExtensions = ddmFormInstanceRecordWriterTrackerImpl. getDDMFormInstanceRecordWriterExtensions(); Assert.assertTrue(ddmFormInstanceRecordWriterExtensions.isEmpty()); }