code: public static Expectations successfullyReachedUrl(String url) {
          Expectations expectations = new Expectations();
          expectations.addSuccessCodeForCurrentAction();
          expectations.addExpectation(new ResponseUrlExpectation(Constants.STRING_EQUALS, url, "Did not reach the expected URL."));
          return expectations;
      }
docs: Set success for current action only
  
  @param url
  @return