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

org.jusecase.test.UsecaseTest Maven / Gradle / Ivy

Go to download

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