Parcial Unico/ParcialUnico2017/src/test/java/clases/TSBDeQueueTest.java
@org.junit.Test(expected = NullPointerException.class)
    public void testAddLast() {
        System.out.println("addLast");
        instance.addLast(101);
        assertEquals((Integer) 101, instance.getLast());
        instance.addLast(null);
    }
/**
     * Test of addLast method, of class TSBDeQueue.
     */
Test of addLast method, of class TSBDeQueue.
Test of addLast method of class TSBDeQueue .
@org.junit.Test(expected = NullPointerException.class)
    public void testAddLast() {
        System.out.println("addLast");
        instance.addLast(101);
        assertEquals((Integer) 101, instance.getLast());
        instance.addLast(null);
    }
@ org . junit . Test ( expected = NullPointerException . class ) public void testAddLast ( ) { System . out . println ( "addLast" ) ; instance . addLast ( 101 ) ; assertEquals ( ( Integer ) 101 , instance . getLast ( ) ) ; instance . addLast ( null ) ; }
Test of addLast method, of class TSBDeQueue.
Test of addLast method of class TSBDeQueue .