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

Method testGetValue01

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

60 * Tests that a null context results in an NPE as per EL Javadoc.
61 */
62 @Test(expected = NullPointerException.class)
63 public void testGetValue01() {
64 MapELResolver mapELResolver = new MapELResolver();
65 mapELResolver.getValue(null, new Object(), new Object());
66 }
67
68 /**
69 * Tests that a valid property is not resolved if base is not Map.

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.95

Tested by

no test coverage detected