@Test(dataProvider = "trees")
public void rewrite(final String treeString, final String rewrittenTreeString) {

	final TreeNode<String> tree = TreeNode.parse(treeString);
	TreeRewriter.rewrite(tree, REWRITERS);
	Assert.assertEquals(
		tree.toParenthesesString(),
		TreeNode.parse(rewrittenTreeString).toParenthesesString()
	);
}