protected void assertToString(Object value,String expected){
  Object console=InvokerHelper.invokeMethod(value,"toString",null);
  assertEquals("toString() on value: " + value,expected,console);
}

protected void assertToString ( Object value , String expected ) { Object console = InvokerHelper . invokeMethod ( value , "toString" , null ) ; assertEquals ( "toString() on value: " + value , expected , console ) ; }
asserts that the value of tostring ( ) on the given object matches the given text string
