use of org.kaazing.k3po.lang.internal.el.ExpressionContext in project zilla by aklivity.
the class TlsFunctionsTest method setUp.
@Before
public void setUp() throws Exception {
factory = newExpressionFactory();
ctx = new ExpressionContext();
}
use of org.kaazing.k3po.lang.internal.el.ExpressionContext in project zilla by aklivity.
the class WsFunctionsTest method setUp.
@Before
public void setUp() throws Exception {
factory = newExpressionFactory();
ctx = new ExpressionContext();
}
use of org.kaazing.k3po.lang.internal.el.ExpressionContext in project zilla by aklivity.
the class HttpFunctionsTest method shouldResolveFunction.
@Test
public void shouldResolveFunction() throws Exception {
final ELContext ctx = new ExpressionContext();
final FunctionMapper mapper = ctx.getFunctionMapper();
final Method function = mapper.resolveFunction("http", "randomInvalidVersion");
assertNotNull(function);
assertSame(HttpFunctions.class, function.getDeclaringClass());
}
Aggregations