com.pivotallabs.greatexpectations.Expect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of great-expectations Show documentation
Show all versions of great-expectations Show documentation
Jasmine-style expect() for Java.
The newest version!
package com.pivotallabs.greatexpectations;
import com.pivotallabs.greatexpectations.matchers.*;
import static com.pivotallabs.greatexpectations.GreatExpectations.wrapped;
public class Expect {
public static ObjectMatcher expect(T actual) {
//noinspection unchecked
return wrapped(ObjectMatcher.class, actual);
}
public static BooleanMatcher expect(boolean actual) {
return wrapped(BooleanMatcher.class, actual);
}
public static BooleanMatcher expect(T actual) {
return wrapped(BooleanMatcher.class, actual);
}
public static ComparableMatcher expect(T actual) {
return wrapped(ComparableMatcher.class, actual);
}
public static DateMatcher expect(T actual) {
return wrapped(DateMatcher.class, actual);
}
public static , X> IterableMatcher expect(T actual) {
return wrapped(IterableMatcher.class, actual);
}
public static , X> SetMatcher expect(T actual) {
return wrapped(SetMatcher.class, actual);
}
public static LongMatcher expect(long actual) {
return wrapped(LongMatcher.class, actual);
}
public static LongMatcher expect(T actual) {
return wrapped(LongMatcher.class, actual);
}
public static StringMatcher expect(T actual) {
return wrapped(StringMatcher.class, actual);
}
}