### Question:
TemplateVariables { void load(InputStream inputStream) throws IOException { properties.load(inputStream); } TemplateVariables();   }### Answer:
@Test public void testLoad() throws IOException { final InputStream propertiesStream = TemplateVariablesTest.class.getResourceAsStream("pvir-template.properties"); assertNotNull(propertiesStream); try { variables.load(propertiesStream); final Map<String, String> wordVariables = variables.getWordVariables(); assertEquals(4, wordVariables.size()); } finally { propertiesStream.close(); } }