@Test
public void whenAddStackThatWeCanGetItbyIndex() throws Exception {

    StackLinkedList<Integer> dlink = new StackLinkedList<>();
    dlink.push(4);
    dlink.push(12);
    dlink.push(-7);
    int control = dlink.get(2);
    Assert.assertThat(control,is(-7));
}