### Question:
WordTemplateChecker { public void assignTemplateDefinition(TemplateDefinition templateDefinition) { template.assignTemplateDefinition(templateDefinition); } WordTemplateChecker(WordDocument document); void assignTemplateDefinition(TemplateDefinition templateDefinition); Template getTemplate();  }### Answer:
@Test void readWordTest() throws Exception { TemplateDefinition templateDefinition = DefinitionExcelConverterTest.create(); WordDocument templateDocument = new WordDocument(new File(Definitions.EXAMPLES_TEMPLATES_TEST_DIR, "EmploymentContractTemplate.docx")); VariableDefinition variableDefinition = templateDefinition.getVariableDefinitions().get(0); variableDefinition.setName("New_variable"); WordTemplateChecker checker = new WordTemplateChecker(templateDocument); checker.assignTemplateDefinition(templateDefinition); }