public void Should_Be_NOT_Broken_WhenDeleteingRegularUser()
        {
            var users = CreateUsers();

            var userId = Guid.NewGuid();

            users.Add(new User(userId, "*****@*****.**", "testr13", Role.User));

            var rule = new CanUserBeDeletedRule(users, userId);

            Assert.False(rule.isBroken());
        }
        public void Should_Be_Broken()
        {
            var users = CreateUsers();

            var userId = Guid.NewGuid();

            users.Add(new User(userId, "*****@*****.**", "testr13", Role.User));
            var user = users.FirstOrDefault(p => p.Role == Role.Owner);

            var rule = new CanUserBeDeletedRule(users, user.Id);

            Assert.True(rule.isBroken());
        }