public async Task Resource_With_Media_Without_Permission_Is_Not_Authorized()
        {
            AuthorizationHandlerContext     authHandlerContext = CreateAuthorizationHandlerContext(NodeId);
            MediaPermissionsResourceHandler sut = CreateHandler(NodeId, startMediaId: 1001);

            await sut.HandleAsync(authHandlerContext);

            Assert.IsFalse(authHandlerContext.HasSucceeded);
        }
        public async Task Resource_With_Node_Id_With_Permission_Is_Authorized()
        {
            AuthorizationHandlerContext     authHandlerContext = CreateAuthorizationHandlerContext(NodeId, createWithNodeId: true);
            MediaPermissionsResourceHandler sut = CreateHandler(NodeId);

            await sut.HandleAsync(authHandlerContext);

            Assert.IsTrue(authHandlerContext.HasSucceeded);
        }