TilesSharedVariableFactory implements SharedVariableFactory { @Override public TemplateModel create() { return new BeanModel(new TilesFMModelRepository(), BeansWrapper.getDefaultInstance()); }  @Override TemplateModel create();  }
@Test public void testCreate() { TilesSharedVariableFactory factory = new TilesSharedVariableFactory(); assertTrue(factory.create() instanceof BeanModel); }