### Question:
BPMNProjectActionsToolboxFactory extends AbstractActionsToolboxFactory { @Override protected ActionsToolboxView<?> newViewInstance() { return views.get(); } @Inject  BPMNProjectActionsToolboxFactory(final @CommonActionsToolbox ActionsToolboxFactory commonActionToolbox,
                                            final @Any ManagedInstance<FormGenerationToolboxAction> generateFormsActions,
                                            final @Any @CommonActionsToolbox ManagedInstance<ActionsToolboxView> views); @Override Collection<ToolboxAction<AbstractCanvasHandler>> getActions(final AbstractCanvasHandler canvasHandler,
                                                                       final Element<?> e); @PreDestroy void destroy();  }### Answer:
@Test public void testNewViewInstance() { assertEquals(view, tested.newViewInstance()); }