org.jusecase.test.UsecaseTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jusecase-test Show documentation
Show all versions of jusecase-test Show documentation
Java framework for a usecase centric architecture as proposed by Uncle Bob and others. Supports Java 1.6+.
The newest version!
package org.jusecase.test;
import org.jusecase.Usecase;
public abstract class UsecaseTest extends UsecaseTestInterface {
protected Usecase usecase;
protected Response response;
protected void whenRequestIsExecuted() {
response = usecase.execute(request);
}
protected abstract void thenResponseIs(Response expected);
protected abstract void thenResponseIsNotNull();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy