SONARPLUGINS-2560 Add JUnit test for getCharsetFromContentType