MCPcopy Create free account
hub / github.com/apache/tomcat / testGetValue01

Method testGetValue01

test/jakarta/el/TestArrayELResolver.java:100–104  ·  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

98 * Tests that a null context results in an NPE as per EL Javadoc.
99 */
100 @Test(expected = NullPointerException.class)
101 public void testGetValue01() {
102 ArrayELResolver resolver = new ArrayELResolver();
103 resolver.getValue(null, new Object(), new Object());
104 }
105
106 /**
107 * Tests that a valid property is not resolved if base is not an array.

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.95

Tested by

no test coverage detected