@Test
public void testOffer006() throws Exception {

    int capacity = 1;
    ArrayBlockingQueueEx<DataValueObject> queue = new ArrayBlockingQueueEx<DataValueObject>(capacity);
    try {
        queue.offer(null);
        fail();
    } catch (NullPointerException e) {
        /* NOP */
    } catch (Exception e) {
        fail();
    }
}