Package com.base2art.jeqll.matchers

Examples of com.base2art.jeqll.matchers.StringStartsWithMatcher


    intMatcher = new StringStartsWithMatcher<>("index", "start", false);
    assertThat(intMatcher.doIsMatch("startOfString")).isEqualTo(true);
    assertThat(intMatcher.doIsMatch("sTArtOfString")).isEqualTo(true);
    assertThat(intMatcher.doIsMatch("NotstartOfString")).isEqualTo(false);

    intMatcher = new StringStartsWithMatcher("index", "start", true);
    assertThat(intMatcher.doIsMatch("startOfString")).isEqualTo(true);
    assertThat(intMatcher.doIsMatch("sTArtOfString")).isEqualTo(false);
    assertThat(intMatcher.doIsMatch("NotstartOfString")).isEqualTo(false);
    //intMatcher.g
}
View Full Code Here

TOP

Related Classes of com.base2art.jeqll.matchers.StringStartsWithMatcher

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.