    @Test(expected = BadConfigException.class)
    public void invalid_config_throws() throws IOException, BadConfigException {

        try (final InputStream is = Objects.requireNonNull(getClass().getClassLoader()).getResourceAsStream("broken.conf")) {
            Config.parse(is);
        }
    }