AMJournalTransformerListener extends BaseTransformerListener { @Deactivate protected void deactivate() { _journalContent.clearCache(); }  @Override String onOutput(
		String output, String languageId, Map<String, String> tokens);  }
@Test public void testOnDeactivationClearsJournalCache() throws Exception { _amJournalTransformerListener.deactivate(); Mockito.verify( _journalContent, Mockito.times(1) ).clearCache(); }