All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.otto.edison.testsupport.dsl.Then Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
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 matcher) {
        MatcherAssert.assertThat(actual, matcher);
        return INSTANCE;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy