Class NotStartsWithMatcher


  • public class NotStartsWithMatcher
    extends AbstractMatcher
    Matcher checking that actual doesn't start with input value.
    • Constructor Detail

      • NotStartsWithMatcher

        public NotStartsWithMatcher​(String value)
        Creates a not starts with matcher.
        Parameters:
        value - input value
      • NotStartsWithMatcher

        public NotStartsWithMatcher​(Pattern value)
        Creates a not starts with 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