#502 Replaced usages of System.out with logger.
This commit is contained in:
@ -32,9 +32,13 @@ import java.io.PrintStream;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.ExpectedException;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class MuteTest {
|
||||
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(MuteTest.class);
|
||||
|
||||
private static final String MESSAGE = "should not occur";
|
||||
|
||||
@Rule public ExpectedException exception = ExpectedException.none();
|
||||
@ -69,7 +73,7 @@ public class MuteTest {
|
||||
|
||||
|
||||
private void methodNotThrowingAnyException() {
|
||||
System.out.println("Executed successfully");
|
||||
LOGGER.info("Executed successfully");
|
||||
}
|
||||
|
||||
private void methodThrowingException() throws Exception {
|
||||
|
Reference in New Issue
Block a user