@Test
public void testPositiveValues() throws Exception {
StandardEvaluationContext context = new StandardEvaluationContext();
HashMethodExecutor executor = new HashMethodExecutor();
TypedValue value = executor.execute(context, new Object(), 3, 2);
assertThat((String) value.getValue(), is("1_hash"));
value = executor.execute(context, new Object(), 4, 2);
assertThat((String) value.getValue(), is("0_hash"));
value = executor.execute(context, new Object(), 9, 27);
assertThat((String) value.getValue(), is("9_hash"));
value = executor.execute(context, new Object(), 9, 11);
assertThat((String) value.getValue(), is("9_hash"));
value = executor.execute(context, new Object(), 11, 22);
assertThat((String) value.getValue(), is("11_hash"));
value = executor.execute(context, new Object(), 30, 27);
assertThat((String) value.getValue(), is("3_hash"));
value = executor.execute(context, new Object(), 332, 27);
assertThat((String) value.getValue(), is("8_hash"));
}