guru.mocker.java.internal.api.ThenMockerImpl Maven / Gradle / Ivy
The newest version!
package guru.mocker.java.internal.api;
import guru.mocker.java.api.MockerContext;
import guru.mocker.java.api.ThenMocker;
import guru.mocker.java.internal.result.ComparableResult;
public class ThenMockerImpl implements ThenMocker
{
private final MockerContext mockerContext;
public ThenMockerImpl(MockerContext mockerContext)
{
this.mockerContext = mockerContext;
}
@Override
public void thenAssert()
{
mockerContext.comparableResults().forEach(ComparableResult::compareResults);
mockerContext.asserts().forEach(Runnable::run);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy