*/
@Test
public void testGetFileContent() throws IOException {
- String content = refProp.getFileContent("sdc.decode.service_ids");
- assertEquals("{}", content);
+ String location = "{\n\t\"DC1\": \"Data Center 1\",\n\t\"DC2\": \"Data Center 2\",\n\t\"DC3\": \"Data Center 3\"\n}\n";
+ String content = refProp.getFileContent("ui.location.default");
+ assertEquals(location, content);
// Test composite key
- content = refProp.getFileContent("sdc.decode", "service_ids");
- assertEquals("{}", content);
+ content = refProp.getFileContent("ui.location", "default");
+ assertEquals(location, content);
}
@Test