# Testing
source: https://developer.mastercard.com/bces-service/documentation/testing/index.md

You can test your integration in Sandbox using the test data listed below.

## Test Data {#test-data}

* cardNumber: 5291070000000000L (mandatory)
* effectiveDate: "YYYY-MM-DD"
* benefitCode: "CDW"
* productCode: "DCG"
* locale: "en-US"

## Test Cases {#test-cases}

### Benefits {#benefits}

#### Retrieve Benefits Content Active Today {#retrieve-benefits-content-active-today}

* Using the cardNumber listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with that card number that are active today

#### Retrieve Benefits Content Specific to an Effective Date {#retrieve-benefits-content-specific-to-an-effective-date}

* Using the cardNumber and effectiveDate listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with the cardNumber/effectiveDate that are active as of that date

#### Retrieve Benefits Specific to a Benefit Code {#retrieve-benefits-specific-to-a-benefit-code}

* Using the cardNumber and benefitCode listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with the cardNumber/benefitCode that are active as of today

#### Retrieve Benefits Specific to a Product Code {#retrieve-benefits-specific-to-a-product-code}

* Using the cardNumber and productCode listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with the cardNumber/productCode that are active as of today

#### Retrieve Benefits Specific to a Locale {#retrieve-benefits-specific-to-a-locale}

* Using the cardNumber and locale listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with the cardNumber/locale that are active as of today

#### Retrieve Benefits Specific to your choice by using the above test data where cardNumber is the mandatory field {#retrieve-benefits-specific-to-your-choice-by-using-the-above-test-data-where-cardnumber-is-the-mandatory-field}

* Using the cardNumber and fields listed under test data send a request to *benefit-contents/searches*
* Get a response object that contains a list of benefits content associated with the cardNumber and the filter you wanted.
