use of jodd.madvoc.ScopeData in project jodd by oblac.
the class ScopeDataResolverTest method testInAnnotations.
@Test
public void testInAnnotations() {
ScopeDataResolver scopeDataResolver = new ScopeDataResolver();
ScopeData[] scopeData = scopeDataResolver.resolveScopeData(Action.class);
ScopeData.In[] in1 = scopeData[ScopeType.REQUEST.value()].in;
ScopeData.In in = in1[0];
assertEquals("input", in.name);
assertEquals(String.class, in.type);
}
Aggregations