SimpleListElementAction extends ProjectAction { @NotNull public String getName() { return name; } @AssistedInject  SimpleListElementAction(AppContext appContext,
                                   @NotNull @Assisted String name,
                                   @NotNull @Assisted SVGResource image,
                                   @NotNull @Assisted DropDownHeaderWidget header); @Override void actionPerformed(ActionEvent e); @NotNull String getName(); @NotNull SVGResource getImage();  }
@Test public void nameShouldBeReturned() throws Exception { assertThat(action.getName(), equalTo(TEXT)); }