net.sf.cotta.test.assertion.IntegerAssert Maven / Gradle / Ivy
The newest version!
package net.sf.cotta.test.assertion;
import net.sf.cotta.test.matcher.GreaterThanMatecher;
import net.sf.cotta.test.matcher.LessThanMatcher;
public class IntegerAssert extends BaseAssert {
public IntegerAssert(int value) {
super(value);
}
public IntegerAssert lt(int expected) {
matches(new LessThanMatcher(expected));
return this;
}
public IntegerAssert gt(int expected) {
matches(new GreaterThanMatecher(expected));
return this;
}
}