SizeOrLengthMatcher matcher = new SizeOrLengthMatcher(size, SizeOrLengthMatcherType.LT);
return this.assertThat(matcher);
}
public E sizeBetween(int min, int max) {
SizeOrLengthMatcher geMatcher = new SizeOrLengthMatcher(min, SizeOrLengthMatcherType.GE);
SizeOrLengthMatcher leMatcher = new SizeOrLengthMatcher(max, SizeOrLengthMatcherType.LE);
Matcher matcher = AllOf.allOf(geMatcher, leMatcher);
return this.assertThat(matcher);
}