public SimpleMethodTest(String caseName,Element mainElement){
  this(caseName,mainElement.getAttribute("location"),mainElement.getAttribute("name"));
}

public SimpleMethodTest ( String caseName , Element mainElement ) { this ( caseName , mainElement . getAttribute ( "location" ) , mainElement . getAttribute ( "name" ) ) ; }
tests of simple method
