Tests that a null context results in an NPE as per EL Javadoc.
()
| 25 | * Tests that a null context results in an NPE as per EL Javadoc. |
| 26 | */ |
| 27 | @Test(expected = NullPointerException.class) |
| 28 | public void testGetType01() { |
| 29 | ArrayELResolver resolver = new ArrayELResolver(); |
| 30 | resolver.getType(null, new Object(), new Object()); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Tests that a valid property is not resolved if base is not an array. |