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

Method testGetValue01

test/org/apache/el/parser/TestAstAssign.java:31–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29public class TestAstAssign extends ELBaseTest {
30
31 @Test
32 public void testGetValue01() {
33 ELProcessor processor = new ELProcessor();
34 processor.defineBean("bean01", new TesterBeanB());
35
36 Object result = processor.getValue(
37 "bean01.text = 'hello'", String.class);
38
39 Assert.assertEquals("hello", result);
40 }
41
42
43 @Test

Callers

nothing calls this directly

Calls 2

defineBeanMethod · 0.95
getValueMethod · 0.95

Tested by

no test coverage detected