|  | /* | 
|  | * Written by Doug Lea with assistance from members of JCP JSR-166 | 
|  | * Expert Group and released to the public domain, as explained at | 
|  | * http://creativecommons.org/publicdomain/zero/1.0/ | 
|  | * Other contributors include Andrew Wright, Jeffrey Hayes, | 
|  | * Pat Fisher, Mike Judd. | 
|  | */ | 
|  |  | 
|  | package jsr166; | 
|  |  | 
|  | import java.util.concurrent.BlockingQueue; | 
|  | import java.util.concurrent.SynchronousQueue; | 
|  |  | 
|  | public class SynchronousQueueFairTest extends BlockingQueueTest { | 
|  |  | 
|  | protected BlockingQueue emptyCollection() { | 
|  | return new SynchronousQueue(true); | 
|  | } | 
|  |  | 
|  | } |