Class NotEndsWithMatcher


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

      • NotEndsWithMatcher

        public NotEndsWithMatcher​(java.lang.String value)
        Creates a not ends with matcher.
        Parameters:
        value - input value
      • NotEndsWithMatcher

        public NotEndsWithMatcher​(java.util.regex.Pattern value)
        Creates a not ends with matcher.
        Parameters:
        value - input value
    • Method Detail

      • isSatisfiedBy

        public boolean isSatisfiedBy​(java.lang.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