def METHOD_NAME(
    check_shipping_method_mock, rules_result, is_applicable
):
    check_shipping_method_mock.return_value = rules_result
    assert (
        is_shipping_method_applicable_for_postal_code(Mock(), Mock()) is is_applicable
    )