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

Method testIsReadOnly01

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

153 * Tests that a null context results in an NPE as per EL Javadoc.
154 */
155 @Test(expected = NullPointerException.class)
156 public void testIsReadOnly01() {
157 MapELResolver mapELResolver = new MapELResolver();
158 mapELResolver.isReadOnly(null, new Object(), new Object());
159 }
160
161 /**
162 * Tests that the propertyResolved is false if base is not Map.

Callers

nothing calls this directly

Calls 1

isReadOnlyMethod · 0.95

Tested by

no test coverage detected