Tests that the key is out of bounds and exception will be thrown.
()
| 57 | * Tests that the key is out of bounds and exception will be thrown. |
| 58 | */ |
| 59 | @Test(expected = PropertyNotFoundException.class) |
| 60 | public void testGetType04() { |
| 61 | ArrayELResolver resolver = new ArrayELResolver(); |
| 62 | ELContext context = new StandardELContext(ELManager.getExpressionFactory()); |
| 63 | |
| 64 | String[] base = new String[] { "element" }; |
| 65 | resolver.getType(context, base, Integer.valueOf(1)); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * Tests that a result is returned even when a coercion cannot be performed. |
nothing calls this directly
no test coverage detected