Interface StubSmartCard.CommandStep

    • Method Detail

      • withSimulatedCommand

        StubSmartCard.CommandStep withSimulatedCommand​(java.lang.String command,
                                                       java.lang.String response)
        Add simulated command/response to the StubSmartCard to build. Command and response should be hexadecimal.
        Parameters:
        command - hexadecimal command to respond to (can be a regexp to match multiple apdu)
        response - hexadecimal response
        Returns:
        next step of builder
        Since:
        2.0.0