public class AbstractStateContextLookupTest extends TestCase {
public void testLookup() throws Exception {
Map<String, StateContext> map = new HashMap<String, StateContext>();
AbstractStateContextLookup lookup = new AbstractStateContextLookup(
new DefaultStateContextFactory()) {
protected boolean supports(Class<?> c) {
return Map.class.isAssignableFrom(c);
}
@SuppressWarnings("unchecked")
protected StateContext lookup(Object eventArg) {