code: public static Expectations successfullyReachedProtectedResourceWithLtpaCookie(String testAction, WebClient webClient, String protectedUrl, String username) {
          Expectations expectations = new Expectations();
          expectations.addExpectations(successfullyReachedUrl(testAction, protectedUrl));
          expectations.addExpectations(getResponseTextExpectationsForLtpaCookie(testAction, username));
          return expectations;
      }
docs: Sets expectations that will check:
  <ol>
  <li>Successfully reached the specified URL
  <li>Response text includes LTPA cookie and principal information
  </ol>