Package org.jtester.hamcrest.matcher.string

Examples of org.jtester.hamcrest.matcher.string.StringContainsInOrder


    return this.assertThat("expect string is blank", matcher);
  }

  public IStringAssert containsInOrder(String... expecteds) {
    Iterable<String> substrings = Arrays.asList(expecteds);
    StringContainsInOrder matcher = new StringContainsInOrder(substrings);
    return (IStringAssert) this.assertThat(matcher);
  }
View Full Code Here


    return (IStringAssert) this.assertThat(matcher);
  }

  public IStringAssert containsInOrder(String[] expecteds, StringMode... modes) {
    Iterable<String> substrings = Arrays.asList(expecteds);
    StringContainsInOrder matcher = new StringContainsInOrder(substrings, modes);
    return (IStringAssert) this.assertThat(matcher);
  }
View Full Code Here

TOP

Related Classes of org.jtester.hamcrest.matcher.string.StringContainsInOrder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.