@Test public void dequeue_given12345_thenDequeue12345() throws Exception { enqueue(1, 2, 3, 4, 5); assertDequeue(1, 2, 3, 4, 5); }
public void enqueue(int value) { }
StackyQueue { public void enqueue(int value) { } }
StackyQueue { public void enqueue(int value) { } StackyQueue(int growthFactor, int maxOverhead); }
StackyQueue { public void enqueue(int value) { } StackyQueue(int growthFactor, int maxOverhead); int getLength(); void enqueue(int value); int dequeue(); }
StackyQueue { public void enqueue(int value) { } StackyQueue(int growthFactor, int maxOverhead); int getLength(); void enqueue(int value); int dequeue();  }