code: public void assertCurrentActivity(String message, String name) {
  		boolean foundActivity = waiter.waitForActivity(name);
  
  		if(!foundActivity){
  			Activity activity = activityUtils.getCurrentActivity();
  			if(activity != null){
  				Assert.assertEquals(message, name, activity.getClass().getSimpleName());	
  			}
  			else{
  				Assert.assertEquals(message, name, "No actvity found");
  			}
  		}
  	}
docs: Asserts that an expected {@link Activity} is currently active one.
  
  @param message the message that should be displayed if the assert fails
  @param name the name of the {@code Activity} that is expected to be active e.g. {@code "MyActivity"}