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