code: public static Expectations successfullyReachedLoginPage(String testAction) {
          Expectations expectations = new Expectations();
          expectations.addSuccessStatusCodesForActions(new String[] { testAction });
          expectations.addExpectation(new ResponseTitleExpectation(testAction, Constants.STRING_EQUALS, Constants.FORM_LOGIN_TITLE, "Title of page returned during test step " + testAction
                  + " did not match expected value."));
          return expectations;
      }
docs: Sets expectations that will check:
  <ol>
  <li>200 status code in the response for the specified test action
  <li>Response title is equivalent to expected login page title
  </ol>