@Test
public void getFileConfigShouldTreatUnknownInsertFinalNewlineValueAsFalse() throws Exception {

	when(mockEditorConfig.getProperties("path")).thenReturn(Arrays.asList(
				new OutPair("insert_final_newline", "unknown_val")
			));
	final EditorFileConfig fileConfig = editorConfigService.getEditorConfig("path");
	assertThat(fileConfig.getConfigProperties(), contains(configProperty(INSERT_FINAL_NEWLINE, false)));
}