  @Test
  void whenRequestTypePrivateAndRequesterIdNullThenProviderNameIsProviderName()
  {

    Mockito.when(eidasRequest.getSectorType()).thenReturn(EidasRequestSectorType.PRIVATE);
    Mockito.when(eidasRequest.getRequesterId()).thenReturn(null);
    Mockito.when(eidasRequest.getProviderName()).thenReturn("providerName");
    RequestSession requestSession = new RequestSession("relayState", eidasRequest);

    Assertions.assertEquals("providerName", requestSession.getReqProviderName());
  }