public void ReturnIsNotInRoleForEmptyUser()
        {
            //Given
            var userContext = new GraphQLUserContext();

            //When
            var isInRole = userContext.IsInRole("AnyRole");

            //Then
            Assert.False(isInRole);
        }
        public void ReturnIsNotInRoleForUser()
        {
            //Given
            var claimsPrincipal = GetClaimPrincipalMockForRoles();
            var userContext     = new GraphQLUserContext(claimsPrincipal.Object);

            //When
            var isInRole = userContext.IsInRole("NotGrantedRole");

            //Then
            Assert.False(isInRole);
        }