* Tests that a valid property is set.
*/
@Test
public void testSetValue04() {
ArrayELResolver resolver = new ArrayELResolver();
ELContext context = new ELContextImpl();
String[] base = new String[] { "element" };
resolver.setValue(context, base, new Integer(0), "new-element");
Assert.assertEquals("new-element",
resolver.getValue(context, base, new Integer(0)));
Assert.assertTrue(context.isPropertyResolved());
resolver.setValue(context, base, new Integer(0), null);
Assert.assertEquals(null,
resolver.getValue(context, base, new Integer(0)));
Assert.assertTrue(context.isPropertyResolved());
}