protected void assertViewHasText(int viewId,String text){
  String viewText=textOfView(viewId);
  at("Expect: " + viewText + " to contain: "+ text,viewText.contains(text));
}

protected void assertViewHasText ( int viewId , String text ) { String viewText = textOfView ( viewId ) ; at ( "Expect: " + viewText + " to contain: " + text , viewText . contains ( text ) ) ; }
assert that the view with the given id has the given text
