Tests that a valid property is resolved.
()
| 115 | * Tests that a valid property is resolved. |
| 116 | */ |
| 117 | @Test |
| 118 | public void testGetValue03() { |
| 119 | ArrayELResolver resolver = new ArrayELResolver(); |
| 120 | ELContext context = new StandardELContext(ELManager.getExpressionFactory()); |
| 121 | |
| 122 | String[] base = new String[] { "element" }; |
| 123 | Object result = resolver.getValue(context, base, Integer.valueOf(0)); |
| 124 | |
| 125 | Assert.assertEquals("element", result); |
| 126 | Assert.assertTrue(context.isPropertyResolved()); |
| 127 | } |
| 128 | |
| 129 | @Test |
| 130 | public void testGetValueCoercion01() { |
nothing calls this directly
no test coverage detected