public static Expectation failure(FailureExpectation failure) {
        return new Expectation(failure);
    }
@param failure The failure to expect.
@return Creates an expectation that the service call for a smoke test
case will result in the given failure.
smithy-smoke-test-traits/src/main/java/software/amazon/smithy/smoketests/traits/Expectation.java