@Test
public void testFail() {
ReflectionObjectHandler roh = new ReflectionObjectHandler() {
@Override
public Binding createBinding(String name, final TemplateContext tc, Code code) {
return new GuardedBinding(this, name, tc, code) {
@Override
protected synchronized Wrapper getWrapper(String name, Object[] scopes) {
Wrapper wrapper = super.getWrapper(name, scopes);
if (wrapper instanceof MissingWrapper) {
throw new MustacheException(name + " not found in " + tc);