@Test
public void testOffer001() {

    int capacity = 3;
    long timeout = 15;
    TimeUnit unit = TimeUnit.SECONDS;
    ArrayBlockingQueueEx<DataValueObject> queue = new ArrayBlockingQueueEx<DataValueObject>(capacity);
    try {
        queue.offer(null, timeout, unit);
        fail();
    } catch (NullPointerException e) {
        /* NOP */
    } catch (Exception ex) {
        fail();
    }
}