示例#1
0
  @Test
  public void testRemoveFirst() throws Exception {

    // Given
    list.add(1);
    list.add(2);
    list.add(3);
    list.add(4);
    // When
    int got = list.removeFirst();
    // Then
    Assert.assertEquals(1, got);
  }