public void Should_return_true_for_required_claims_if_the_user_does_have_all_claims()
        {
            // Given
            IUserIdentity user           = GetFakeUser("Fake", new[] { "present-claim1", "present-claim2", "present-claim3" });
            var           requiredClaims = new[] { "present-claim1", "present-claim2" };

            // When
            var result = user.HasClaims(requiredClaims);

            // Then
            result.ShouldBeTrue();
        }
        public void Should_return_false_for_required_claims_if_the_claims_are_null()
        {
            // Given
            IUserIdentity user           = GetFakeUser("Fake");
            var           requiredClaims = new[] { "not-present-claim1", "not-present-claim2" };

            // When
            var result = user.HasClaims(requiredClaims);

            // Then
            result.ShouldBeFalse();
        }