import java.io.IOException;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
+import java.nio.charset.StandardCharsets;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@Before
public void setUp() throws UnsupportedEncodingException {
- System.setOut(new PrintStream(output, true, "UTF-8"));
+ System.setOut(new PrintStream(output, true, StandardCharsets.UTF_8));
}
@After