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

Method testGetType01

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

25 * Tests that a null context results in an NPE as per EL Javadoc.
26 */
27 @Test(expected = NullPointerException.class)
28 public void testGetType01() {
29 ArrayELResolver resolver = new ArrayELResolver();
30 resolver.getType(null, new Object(), new Object());
31 }
32
33 /**
34 * Tests that a valid property is not resolved if base is not an array.

Callers

nothing calls this directly

Calls 1

getTypeMethod · 0.95

Tested by

no test coverage detected