@Test
    public void dequeueReturnsObjectsInCorrectOrder() {
        int[] expected = new int[100];
        for (int i = 0; i < expected.length; i++) {
            expected[i] = i;
            q.enqueue(i);
        }
        int[] actual = new int[100];
        for (int i = 0; i < actual.length; i++) {
            actual[i] = q.dequeue();
        }
        assertArrayEquals(expected, actual);
    }