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

Method testGetType01

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

29 * Tests that a null context results in an NPE as per EL Javadoc.
30 */
31 @Test(expected = NullPointerException.class)
32 public void testGetType01() {
33 MapELResolver mapELResolver = new MapELResolver();
34 mapELResolver.getType(null, new Object(), new Object());
35 }
36
37 /**
38 * Tests that a valid property is not resolved if base is not Map.

Callers

nothing calls this directly

Calls 1

getTypeMethod · 0.95

Tested by

no test coverage detected