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