Ejemplo n.º 1
0
        public void GetById_InvalidClinic_Fail(int id)
        {
            // arrange
            var response = new Response <Clinic>()
            {
                IsSucceed    = false,
                ErrorMessage = "Invalid clinic id",
                Result       = null
            };

            // act
            var result = _clinicService.GetById(id);

            // assert
            _assertHelper.Assertion(response, result);
        }