de.otto.edison.testsupport.dsl.Then Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of edison-testsupport Show documentation
Show all versions of edison-testsupport Show documentation
Test support for Edison Microservices.
package de.otto.edison.testsupport.dsl;
import org.hamcrest.Matcher;
import org.hamcrest.MatcherAssert;
public class Then {
public static final Then INSTANCE = new Then();
public static void then(final Then... thens) {}
public static Then and(final Then then, final Then... more) { return Then.INSTANCE; }
public static Then assertThat(T actual, Matcher super T> matcher) {
MatcherAssert.assertThat(actual, matcher);
return INSTANCE;
}
}