@Test
public void getFileConfigShouldReturnFileConfigWithValuesMatchingEditorConfigProperties() throws Exception {

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