public async Task SignIn_Twice_The_Same_User_Collaborators_Should_Have_Count_1(string userName)
        {
            var service      = new CollaboratorsService();
            var identityUser = new IdentityUser {
                Id = userName, NormalizedUserName = userName
            };

            var collaborator1 = await service.SignIn(identityUser);

            var collaborator2 = await service.SignIn(identityUser);

            service.Collaborators.Should().HaveCount(1);
            collaborator1.Should().NotBeNull();
            collaborator2.Should().BeNull();
        }
        public void SignIn_With_Null_Parameter_Should_Throw_ArgumentNullException()
        {
            var service = new CollaboratorsService();
            Func <ValueTask <IProjectCollaborator?> > act = () => service.SignIn(null);

            act.Should().ThrowExactly <ArgumentNullException>();
        }
        public async Task SignIn_With_Not_Null_Parameter_Collaborators_Should_Contain_It(string userName)
        {
            var service      = new CollaboratorsService();
            var identityUser = new IdentityUser {
                Id = userName, NormalizedUserName = userName
            };

            var collaborator = await service.SignIn(identityUser);

            service.Collaborators.Should().Contain(collaborator);
        }