public async void GetDocumentUpdatestWithIncorrectDocumentId()
        {
            using (var context = DbTestContext.GenerateEmptyContext())
                using (var controller = new DocumentsInternalController(context, _mapper))
                {
                    var result = await controller.GetDocumentUpdates(999);

                    Assert.IsType <NotFoundResult>(result);
                }
        }
        public void GetDocumentTypesEmptyContextNotFound()
        {
            using (var context = DbTestContext.GenerateEmptyContext())
                using (var controller = new DocumentTypesController(context, _mapper))
                {
                    var result = controller.GetDocumentTypes();

                    Assert.IsType <NotFoundResult>(result);
                }
        }
        public async void GetDocumentsByProduct1_50_2NotFound()
        {
            using (var context = DbTestContext.GenerateEmptyContext())
                using (var controller = new DocumentsInternalController(context, _mapper))
                {
                    var result = await controller.GetDocumentsByProduct(1, 50, 2);

                    Assert.IsType <NotFoundResult>(result);
                }
        }