StateEvaluationContext extends EvaluationContext<T> { @Override public MRecord get() { return values; } StateEvaluationContext(MRecord values, String alias); Map<String, T> getEvents(); @Override MRecord get(); void set(MRecord values); void setAlias(String alias); void collect(String key, T event); @Override @Deprecated @SuppressWarnings("squid:S1133") // no reminder to remove the deprecated method needed void collect(T event);  }
@Test public void get() { MRecord typedValues = stateEvaluationContext.get(); Assert.assertEquals(mockValues, typedValues); }