MCPcopy Index your code
hub / github.com/apache/tomcat / testSetValue01

Method testSetValue01

test/jakarta/el/TestArrayELResolver.java:230–234  ·  view source on GitHub ↗

Tests that a null context results in an NPE as per EL Javadoc.

()

Source from the content-addressed store, hash-verified

228 * Tests that a null context results in an NPE as per EL Javadoc.
229 */
230 @Test(expected = NullPointerException.class)
231 public void testSetValue01() {
232 ArrayELResolver resolver = new ArrayELResolver();
233 resolver.setValue(null, new Object(), new Object(), new Object());
234 }
235
236 /**
237 * Tests that a valid property is not set if base is not an array.

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.95

Tested by

no test coverage detected