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