Tests that a null context results in an NPE as per EL Javadoc.
()
| 60 | * Tests that a null context results in an NPE as per EL Javadoc. |
| 61 | */ |
| 62 | @Test(expected = NullPointerException.class) |
| 63 | public void testGetValue01() { |
| 64 | MapELResolver mapELResolver = new MapELResolver(); |
| 65 | mapELResolver.getValue(null, new Object(), new Object()); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Tests that a valid property is not resolved if base is not Map. |