Exemplo n.º 1
0
        public void ExerciseTestMethodInsert()
        {
            var exerciseManager = new ExerciseManager(sUoW, mapper);

            exerciseManager.Insert(new ExerciseDTO()
            {
                Id = 1, TaskName = "TestTask3", CreateDateTime = DateTime.Now, UpdateDateTime = DateTime.Now, TaskTextField = "This is third UnitTest task"
            });
            sUoW.Received(1).Save();
            sUoW.ClearReceivedCalls();
        }