public void GetByIdTest()
        {
            CreateContext();
            DefaultController <ObjectMappingForTest> defaultController = new DefaultController <ObjectMappingForTest>(new FakeLogger(), new FetchDomainData <ObjectMappingForTest>(_uow), null, null, null);

            var exArgumentException = Assert.ThrowsExceptionAsync <ArgumentException>(() => defaultController.GetByIdAsync(10));

            Assert.AreEqual("Запись не найдена.", exArgumentException.Result.Message);

            //Проверка успешного получения записи

            JsonResult resultGetById = defaultController.GetByIdAsync(3).Result;
            BaseResultType <ObjectMappingForTest> resultSuccessQuery = (BaseResultType <ObjectMappingForTest>)resultGetById.Value;

            Assert.AreEqual(ResultStatus.Success, resultSuccessQuery.Status);
            Assert.IsNotNull(resultSuccessQuery.Data);
            Assert.AreEqual(3, resultSuccessQuery.Data.Id);
            Assert.AreEqual(23, resultSuccessQuery.Data.IntValue);
            Assert.AreEqual("23", resultSuccessQuery.Data.StrValue);
        }