# MD for: https://www.mercadopago.com.br/developers/pt/docs/smartapps/integration-test.md \# Integration test Once you have successfully completed the steps of \[integrating the payment flow\](https://www.mercadopago.com.br/developers/pt/docs/smartapps/integrate-payment-flow) with our SDK, you can simulate payment flow scenarios using the \`PaymentFlowConfigMockActivity\`. To access this activity, you must run the following command in your terminal: \`\`\`bash adb shell am start -n com.mercadopago.smartpos/com.mercadopago.devtools.mocktools.view.ui.PaymentFlowConfigMockActivity \`\`\` When you run this command, a screen will open that allows you to configure different options to simulate various payment scenarios. Some of the options you can modify are: - \*\*Card BIN\*\*: in this option, you can select the \`bin\` (the first digits) of the card you want to simulate, whether it's Mastercard, Visa, or another brand. - \*\*Card Tokens service response\*\*: in this option, you can configure the response code (200, 400, 500, etc.) that will be simulated for the \_Card Tokens\_ service. - \*\*Card Tokens profile\*\*: in this option, you can choose whether you want to test a successful response scenario or an error scenario for the \_Card Tokens\_ service. - \*\*Payments service response\*\*: similar to \_Card Tokens\_, in this option you can configure the response code that will be simulated for the \_Payments\_ service. - \*\*Payments profile\*\*: in this option, you can select whether you want to simulate an approved or rejected payment for different reasons, such as: high risk, insufficient amount, or invalid user. After configuring the desired options to simulate the specific scenario, \*\*save the changes\*\*. Then, press the \*\*Back\*\* button to return to the payment flow and execute the simulated scenario.