### Question:
SidebarSheet { public String getId() { return id; } @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 testGetId_DerivedByName() { SidebarSheet sidebarSheet = new SidebarSheet(VaadinIcons.STAR_HALF_LEFT, "Test SidebarSheet", new HorizontalLayout()); assertThat(sidebarSheet.getId(), is("Test SidebarSheet")); }
@Test public void testGetId() { SidebarSheet sidebarSheet = new SidebarSheet("sheet1", VaadinIcons.STAR_HALF_LEFT, "Test SidebarSheet", new HorizontalLayout()); assertThat(sidebarSheet.getId(), is("sheet1")); }