import java.util.Date;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class TimeMachine {
private Date systemTime;
<BUG>public static TimeMachine assumingThatCurrentTime() {
</BUG>
return new TimeMachine(mock(Date.class));
}
public static TimeMachine assumeThat(Date currentTime) {

import java.util.Date;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
public class TimeMachine {
private Date systemTime;
public static TimeMachine currentTime() {
return new TimeMachine(mock(Date.class));
}
public static TimeMachine assumeThat(Date currentTime) {
