Ejemplo n.º 1
0
        public async Task SaveDataItem_NumericDataSide_ShouldNotFind()
        {
            IActionResult result = await _controller.SaveDataItemAsync(TestConstants.DiffId, "1", TestConstants.DataItemRequestA);

            await _diffService.DidNotReceiveWithAnyArgs().SaveDataItemAsync(Arg.Any <int>(), Arg.Any <DiffItemSide>(), Arg.Any <string>());

            Assert.IsType <NotFoundResult>(result);
        }