public static void assertEqualsToString(String expected,TreeLayout<StringTreeNode> actual){
  String actualString=toString(actual);
  assertEquals(expected,actualString);
}

public static void assertEqualsToString ( String expected , TreeLayout < StringTreeNode > actual ) { String actualString = toString ( actual ) ; assertEquals ( expected , actualString ) ; }
check if tostring ( actuals ) is the expected string .
