1/* 2 * Copyright (c) 2007 Mockito contributors 3 * This program is made available under the terms of the MIT License. 4 */ 5 6package org.mockito.internal.progress; 7 8 9import org.mockito.internal.verification.Times; 10import org.mockito.internal.verification.VerificationModeFactory; 11 12public class VerificationModeBuilder { 13 14 private Integer times = 1; 15 16 public Times inOrder() { 17 return VerificationModeFactory.times(times); 18 } 19 20 public VerificationModeBuilder times(int times) { 21 this.times = times; 22 return this; 23 } 24} 25