Tests that a null context results in an NPE as per EL Javadoc.
()
| 228 | * Tests that a null context results in an NPE as per EL Javadoc. |
| 229 | */ |
| 230 | @Test(expected = NullPointerException.class) |
| 231 | public void testSetValue01() { |
| 232 | ArrayELResolver resolver = new ArrayELResolver(); |
| 233 | resolver.setValue(null, new Object(), new Object(), new Object()); |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Tests that a valid property is not set if base is not an array. |