public MyNewIssuesNotification newMyNewIssuesNotification(Map<String, UserDto> assigneesByUuid) {
    verifyAssigneesByUuid(assigneesByUuid);
    return new MyNewIssuesNotification(new DetailsSupplierImpl(assigneesByUuid));
  }
@Test
  public void newMyNewIssuesNotification_DetailsSupplier_getComponentNameByUuid_fails_with_ISE_if_TreeRootHolder_is_not_initialized() {
    MyNewIssuesNotification underTest = this.underTest.newMyNewIssuesNotification(emptyMap());

    DetailsSupplier detailsSupplier = readDetailsSupplier(underTest);

    assertThatThrownBy(() -> detailsSupplier.getComponentNameByUuid("foo"))
      .isInstanceOf(IllegalStateException.class)
      .hasMessage("Holder has not been initialized yet");
  }