### Question:
GeneralMailScriptService implements ScriptService { public boolean shouldObfuscate() { return this.configuration.shouldObfuscate(); }  boolean shouldObfuscate(); String obfuscate(InternetAddress emailAddress);  }### Answer:
@Test void shouldObfuscateEmailAddresses() { when(this.configuration.shouldObfuscate()).thenReturn(true); assertTrue(this.scriptService.shouldObfuscate()); }