@Test
public void getFileConfigShouldIgnoreUnknownEditorConfigPropertyKeys() throws Exception {

	when(mockEditorConfig.getProperties("path")).thenReturn(Arrays.asList(
				new OutPair("tab_width", "8"),
				new OutPair("unkown_config", "val")
			));
	final EditorFileConfig fileConfig = editorConfigService.getEditorConfig("path");
	assertThat(fileConfig.getConfigProperties(), contains(configProperty(TAB_WIDTH, 8)));
}