This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: La Cosa Nostra IVR Workflow | |
In order to register a credit card I want to call the La Cosa Nostra IVR | |
and simulate a phone call. | |
Background: As part of each Scenario I want to set my defaults. | |
Given my telephone number is "(100) 000-0001" | |
And I am testing the "CCard" workflow. | |
And I call the IVR. | |
Scenario: I register my card in one step and sign up for all services. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.hamcrest.Description; | |
import org.hamcrest.Factory; | |
import org.hamcrest.Matcher; | |
import org.hamcrest.TypeSafeMatcher; | |
public class CaseInsensitiveSubstringMatcher extends TypeSafeMatcher<String> { | |
private final String subString; | |
private CaseInsensitiveSubstringMatcher(final String subString) { |