From 4dbc2bbc08865e5044bd39dd65111e1edb4aa987 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Mon, 6 May 2019 03:09:05 -0700 Subject: [PATCH] Cleanup. --- .../net/thauvin/erik/httpstatus/UtilsTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/net/thauvin/erik/httpstatus/UtilsTest.java b/src/test/java/net/thauvin/erik/httpstatus/UtilsTest.java index 25dcfc8..e409910 100644 --- a/src/test/java/net/thauvin/erik/httpstatus/UtilsTest.java +++ b/src/test/java/net/thauvin/erik/httpstatus/UtilsTest.java @@ -46,15 +46,15 @@ import static org.testng.Assert.assertEquals; * @created 2015-12-03 * @since 1.0 */ -@SuppressWarnings("unused") public class UtilsTest { @Test - public void testEscapeXml() - throws Exception { - Assert.assertEquals( - "This is a test. We wan't to make sure that everything is <encoded> according the "encoding" parameter & value.", - Utils.escapeXml( - "This is a test. We wan't to make sure that everything is according the \"encoding\" parameter & value.")); + public void testEscapeXml() { + assertEquals(Utils.escapeXml( + "This is a test. We wan't to make sure that everything is according the \"encoding\" parameter " + + "& value."), "This is a test. We wan't to make sure that everything is <encoded> according " + + "the "encoding" parameter & value."); + } + @SuppressWarnings("PMD.AvoidDuplicateLiterals") @Test public void testOutWrite() throws IOException {