public async Task GetListAsync_Executed_ReturnsList()
        {
            // Arrange
            var ldapAuthenticationModeRepository = Substitute.For <ILdapAuthenticationModeRepository>();
            var ldapConnectionService            = Substitute.For <ILdapConnectionService>();

            ldapAuthenticationModeRepository.GetListAsync().Returns(
                new List <LdapAuthenticationModeModel>()
            {
                mockedAuthenticationMode,
                mockedAuthenticationMode
            });

            var ldapAuthenticationModeService = new LdapAuthenticationModeService(ldapAuthenticationModeRepository, mapper, ldapConnectionService);

            // Act

            // Act
            var ldapAuthenticationModeList = await ldapAuthenticationModeService.GetListAsync();

            // Assert
            Assert.True(ldapAuthenticationModeList.Count == 2, "Expected list count is 2");
            Assert.True(ldapAuthenticationModeList[0].Name == mockedAuthenticationMode.Name, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].Name}' does not equal expected value: '{mockedAuthenticationMode.Name}'");
            Assert.True(ldapAuthenticationModeList[0].Uuid == authenticationModeGuid, $"Expected authenticationMode UUID: '{ldapAuthenticationModeList[0].Uuid}' does not equal expected value: '{authenticationModeGuid}'");
            Assert.True(ldapAuthenticationModeList[0].Account == mockedAuthenticationMode.Account, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].Account}' does not equal expected value: '{mockedAuthenticationMode.Account}'");
            Assert.True(ldapAuthenticationModeList[0].BaseDn == mockedAuthenticationMode.BaseDn, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].BaseDn}' does not equal expected value: '{mockedAuthenticationMode.BaseDn}'");
            Assert.True(ldapAuthenticationModeList[0].HostName == mockedAuthenticationMode.HostName, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].HostName}' does not equal expected value: '{mockedAuthenticationMode.HostName}'");
            Assert.True(ldapAuthenticationModeList[0].IsLdaps == mockedAuthenticationMode.IsLdaps, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].IsLdaps}' does not equal expected value: '{mockedAuthenticationMode.IsLdaps}'");
            Assert.True(ldapAuthenticationModeList[0].Port == mockedAuthenticationMode.Port, $"Expected authenticationMode name: '{ldapAuthenticationModeList[0].Port}' does not equal expected value: '{mockedAuthenticationMode.Port}'");
            Assert.True(ldapAuthenticationModeList[1].Name == mockedAuthenticationMode.Name, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].Name}' does not equal expected value: '{mockedAuthenticationMode.Name}'");
            Assert.True(ldapAuthenticationModeList[1].Uuid == authenticationModeGuid, $"Expected authenticationMode UUID: '{ldapAuthenticationModeList[1].Uuid}' does not equal expected value: '{authenticationModeGuid}'");
            Assert.True(ldapAuthenticationModeList[1].Account == mockedAuthenticationMode.Account, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].Account}' does not equal expected value: '{mockedAuthenticationMode.Account}'");
            Assert.True(ldapAuthenticationModeList[1].BaseDn == mockedAuthenticationMode.BaseDn, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].BaseDn}' does not equal expected value: '{mockedAuthenticationMode.BaseDn}'");
            Assert.True(ldapAuthenticationModeList[1].HostName == mockedAuthenticationMode.HostName, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].HostName}' does not equal expected value: '{mockedAuthenticationMode.HostName}'");
            Assert.True(ldapAuthenticationModeList[1].IsLdaps == mockedAuthenticationMode.IsLdaps, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].IsLdaps}' does not equal expected value: '{mockedAuthenticationMode.IsLdaps}'");
            Assert.True(ldapAuthenticationModeList[1].Port == mockedAuthenticationMode.Port, $"Expected authenticationMode name: '{ldapAuthenticationModeList[1].Port}' does not equal expected value: '{mockedAuthenticationMode.Port}'");
        }