### Question:
SidebarSheet { @Override public String toString() { return name; } @Deprecated  SidebarSheet(Resource icon, Component content, String tooltip);  SidebarSheet(Resource icon, String name, Component content);  SidebarSheet(Resource icon, String name, Component content, UiUpdateObserver uiUpdateObserver);  SidebarSheet(Resource icon, String name, Supplier<Component> contentSupplier);  SidebarSheet(Resource icon, String name, Supplier<Component> contentSupplier,
            @CheckForNull UiUpdateObserver uiUpdateObserver);  SidebarSheet(String id, Resource icon, String name, Component content, UiUpdateObserver uiUpdateObserver);  SidebarSheet(String id, Resource icon, String name, Component content);  SidebarSheet(String id, Resource icon, String name, Supplier<Component> contentSupplier);  SidebarSheet(String id, Resource icon, String name, Supplier<Component> contentSupplier,
            @CheckForNull UiUpdateObserver uiUpdateObserver); String getId(); Button getButton(); Component getContent(); String getName(); Optional<UiUpdateObserver> getUiUpdateObserver(); void setUiUpdateObserver(@CheckForNull UiUpdateObserver uiUpdateObserver); @Override String toString();  }### Answer:
@Test public void testToString() { SidebarSheet sheet = new SidebarSheet(VaadinIcons.ADJUST, "Foo", new TextField()); assertThat(sheet.toString(), is("Foo")); }