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

Method testSetValue01

test/jakarta/el/TestMapELResolver.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 testSetValue01() {
102 MapELResolver mapELResolver = new MapELResolver();
103 mapELResolver.setValue(null, new Object(), new Object(), new Object());
104 }
105
106 /**
107 * Tests that a valid property is not set if base is not Map.

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.95

Tested by

no test coverage detected