Tests that a null context results in an NPE as per EL Javadoc.
()
| 98 | * Tests that a null context results in an NPE as per EL Javadoc. |
| 99 | */ |
| 100 | @Test(expected = NullPointerException.class) |
| 101 | public void testGetValue01() { |
| 102 | ArrayELResolver resolver = new ArrayELResolver(); |
| 103 | resolver.getValue(null, new Object(), new Object()); |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * Tests that a valid property is not resolved if base is not an array. |