How can I tell JUnit to skip certain lines of source code?
Context: I'm programming a WebService which uses the weblogic.logging.LoggingHelper class to create log entries.
Calls to this class are only useful, if the code runs on a weblogic server. But I want to test the code locally, without having to uncomment the logging statements for debugging all the time.