Home | History | Annotate | Download | only in progress
      1 /*
      2  * Copyright (c) 2007 Mockito contributors
      3  * This program is made available under the terms of the MIT License.
      4  */
      5 package org.mockito.internal.progress;
      6 
      7 public class SequenceNumber {
      8 
      9     private static int sequenceNumber = 1;
     10 
     11     public static synchronized int next() {
     12         return sequenceNumber++;
     13     }
     14 }