de.gofabian.jfixture.api.FixtureContext Maven / Gradle / Ivy
The newest version!
package de.gofabian.jfixture.api;
import java.util.ArrayList;
import java.util.List;
public class FixtureContext {
private final List tearDowns = new ArrayList<>();
public void addTearDown(Runnable tearDown) {
tearDowns.add(tearDown);
}
public List getTearDowns() {
return tearDowns;
}
}