@Test
public void writeTest() throws IOException {

	TemplateDataImpl<String> template = new TemplateDataImpl<>();
	byte[] content = new byte[1];
	Arrays.fill(content, Byte.MIN_VALUE);
	template.setContent(content);
	WordTemplate<?> wordTemplate = new WordTemplate<Object>(template, null);
	ByteArrayOutputStream out = new ByteArrayOutputStream();
	wordTemplate.write(out);
	assertTrue("Content is not equals",
			Arrays.equals(content, out.toByteArray()));
}