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.
        Parameters:
        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
        Parameters:
        currentValue - define the object of check name
        Returns:
        boolean value for isSatisfiedBy