Add whitespace B64 test

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/fileupload/trunk@1458069 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/java/org/apache/commons/fileupload/util/mime/MimeUtilityTestCase.java b/src/test/java/org/apache/commons/fileupload/util/mime/MimeUtilityTestCase.java
index de01212..d84c2e7 100644
--- a/src/test/java/org/apache/commons/fileupload/util/mime/MimeUtilityTestCase.java
+++ b/src/test/java/org/apache/commons/fileupload/util/mime/MimeUtilityTestCase.java
@@ -52,6 +52,12 @@
                       "=?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?= =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=\"\r\n");
     }
 
+    @Test
+    public void decodeIso88591Base64EncodedWithWhiteSpace() throws Exception {
+        assertEncoded("If you can read this you understand the example.",
+                "=?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?=\t  \r\n   =?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=\"\r\n");
+    }
+
     private static void assertEncoded(String expected, String encoded) throws Exception {
         assertEquals(expected, MimeUtility.decodeText(encoded));
     }