    @Test
    public void testInlineComments() throws EnvFileErrorException {

        Map<String, String> result = parser.getEnvVars(Collections.emptyMap(), getFile("inline-comments.env"));
        Assert.assertEquals("foo#bar", result.get("key1"));
        Assert.assertEquals("foo", result.get("key2"));
        Assert.assertEquals("foo #bar", result.get("key3"));
        Assert.assertEquals("foo #bar", result.get("key4"));
        Assert.assertEquals("foo #bar", result.get("key5"));
    }