Tests that a null context results in an NPE as per EL Javadoc.
()
| 29 | * Tests that a null context results in an NPE as per EL Javadoc. |
| 30 | */ |
| 31 | @Test(expected = NullPointerException.class) |
| 32 | public void testGetType01() { |
| 33 | MapELResolver mapELResolver = new MapELResolver(); |
| 34 | mapELResolver.getType(null, new Object(), new Object()); |
| 35 | } |
| 36 | |
| 37 | /** |
| 38 | * Tests that a valid property is not resolved if base is not Map. |