import hudson.model.AbstractBuild;
import hudson.model.ItemGroup;
import hudson.model.Job;
import java.util.Stack;
import static org.mockito.Mockito.*;
<BUG>public class JobStateRecipe {
private Job<?, ?> job;</BUG>
private Stack<AbstractBuild> buildHistory = new Stack<AbstractBuild>();
public JobStateRecipe() {
job = mock(Job.class);

import hudson.model.AbstractBuild;
import hudson.model.ItemGroup;
import hudson.model.Job;
import java.util.Stack;
import static org.mockito.Mockito.*;
public class JobStateRecipe implements Supplier<Job<?,?>> {
private Job<?, ?> job;
private Stack<AbstractBuild> buildHistory = new Stack<AbstractBuild>();
public JobStateRecipe() {
job = mock(Job.class);
