fitlibraryGeneric.specify.workflow.Check Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitlibrary Show documentation
Show all versions of fitlibrary Show documentation
FitLibrary provides general-purpose fixtures (and runners) for storytests with Fit and FitNesse.
The newest version!
/*
* Copyright (c) 2006 Rick Mugridge, www.RimuResearch.com
* Released under the terms of the GNU General Public License version 2 or later.
* Written: 16/11/2006
*/
package fitlibraryGeneric.specify.workflow;
import fitlibrary.specify.eg.Colour;
public class Check {
public Gen getAGenericColourObject() {
return new Gen(Colour.RED);
}
public Gen getAGenericIntegerObject() {
return new Gen(23);
}
public static class Gen {
T t;
public Gen(T t) {
this.t = t;
}
public T getT() {
return t;
}
}
}