@@ -0,0 +1,807 @@
+package com.matao.extra;%0A%0Aimport org.junit.jupiter.api.Assertions;%0Aimport org.junit.jupiter.api.BeforeEach;%0Aimport org.junit.jupiter.api.Test;%0A%0Aimport java.util.EmptyStackException;%0A%0A/**%0A * Created by matao on 2018-12-07.%0A */%0Apublic class StackWith2QueuesTest %7B%0A%0A    private StackWith2Queues%3CInteger%3E stack;%0A%0A    @BeforeEach%0A    void setUp() %7B%0A        stack = new StackWith2Queues%3C%3E();%0A    %7D%0A%0A    @Test%0A    void testEmptyPop() %7B%0A        Assertions.assertThrows(EmptyStackException.class, () -%3E stack.pop());%0A    %7D%0A%0A    @Test%0A    void testNormal() %7B%0A        stack.push(1);%0A        stack.push(2);%0A        Assertions.assertEquals(2, stack.pop().intValue());%0A%0A        stack.push(3);%0A        Assertions.assertEquals(3, stack.pop().intValue());%0A        Assertions.assertEquals(1, stack.pop().intValue());%0A    %7D%0A%7D%0A

add test case for StackWith2Queues