@Test (expected=NullPointerException.class)
    public void testValue_Integer_DoubleArrWithNullValue() throws Exception {
        Integer iteration = 0;
        try {
            System.out.println("value(Integer, Double[])");
            Double[] sequence = this._series;
            sequence[2] = null;
            RichardsonExtrapolationReal instance = this._richardson;
            for (; iteration < 5; iteration++) {
                Double expResult = (iteration == 0 ? 0.25 : 0.0);
                Double result = instance.value(iteration, sequence);
                assertEquals("Wrong accelerated value for iteration " +
                        Integer.toString(iteration), expResult, result);
            }
        }
        catch (NullPointerException npe) {
            if (iteration == 2)
                throw npe;
            else
                fail("Wrong iteration value: " + Integer.toString(iteration));
        }
        catch (Exception e) {
            fail("Wrong exception thrown: " + e.getClass().getName());
        }
    }