@Test
public void getElement() {

    double[] data = initVector();
    for (int i = 0; i < data.length; i++) {
        assertNotNull(MathTestConstants.NULL_VAL, testVector.getElement(i));
        assertEquals(MathTestConstants.UNEXPECTED_VAL, testVector.getElement(i).get(), data[i], MathTestConstants.NIL_DELTA);
        testVector.getElement(i).set(++data[i]);
        assertEquals(MathTestConstants.UNEXPECTED_VAL, testVector.getElement(i).get(), data[i], MathTestConstants.NIL_DELTA);
    }
}