};
}
@Test(dataProvider = WIDGETS_AND_KEYS)
public final void storeRetrieveWidgets(final String key, final Class<Renderable> expected) throws ExpressionCompileException {
final WidgetRegistry registry = new DefaultWidgetRegistry(new MvelEvaluator(), createNiceMock(PageBook.class), createNiceMock(Injector.class));
registry.add(key, expected);
Renderable widget = registry.newWidget(key, "some=expression", new ProceedingWidgetChain(), createMock(EvaluatorCompiler.class));
assert expected.isInstance(widget) : "Wrong widget returned";