Assert.assertEquals(8, cache.lookup(new Object[] { 3,4,7}, 9));
Assert.assertEquals(null, cache.lookup(new Object[] { 3,5,7}, 9));
}
public void testIds() {
DefaultStaticMethods util = new DefaultStaticMethods();
Assert.assertEquals("CamelCase", util.toCamelCase("camel_case", true));
Assert.assertEquals("camelCase", util.toCamelCase("camel_case", false));
Assert.assertEquals("camelCase", util.toCamelCase("_camel_case", false));
Assert.assertEquals("toDo", util.toCamelCase("_to_do_", false));
Assert.assertEquals("ToDo", util.toCamelCase("_to_do_", true));
}