Class ContainsWordMatcher

  • public class ContainsWordMatcher
    extends AbstractMatcher
    Matcher checking that actual contains word from input value.
    • Constructor Detail

      • ContainsWordMatcher

        public ContainsWordMatcher​(String value)
        Creates a contains word matcher.
        value - input value
    • Method Detail

      • isSatisfiedBy

        public boolean isSatisfiedBy​(String currentValue)
        Description copied from class: AbstractMatcher
        Check if the matcher is matched given the value
        Specified by:
        isSatisfiedBy in class AbstractMatcher
        currentValue - define the object of check name
        boolean value for isSatisfiedBy