diff --git a/as2-lib/src/test/java/com/helger/as2lib/util/http/HTTPHelperTest.java b/as2-lib/src/test/java/com/helger/as2lib/util/http/HTTPHelperTest.java index 2c75bee8..510707ad 100644 --- a/as2-lib/src/test/java/com/helger/as2lib/util/http/HTTPHelperTest.java +++ b/as2-lib/src/test/java/com/helger/as2lib/util/http/HTTPHelperTest.java @@ -299,12 +299,12 @@ public void testNoLengthMessageRegular () throws Exception } catch (final IOException ex) { - assertEquals ("Content-Length missing", ex.getMessage ()); + assertEquals ("Content-Length is missing and no Transfer-Encoding is specified", ex.getMessage ()); } } @Test - public void testBadTRansferEncodingMessageRegular () throws Exception + public void testBadTransferEncodingMessageRegular () throws Exception { // stream final AS2Message aMsg = new AS2Message (); @@ -316,7 +316,7 @@ public void testBadTRansferEncodingMessageRegular () throws Exception } catch (final IOException ex) { - assertEquals ("Transfer-Encoding unimplemented: cXXhunked", ex.getMessage ()); + assertEquals ("Transfer-Encoding unimplemented: 'cXXhunked'", ex.getMessage ()); } } }