コード例 #1
0
        public void Add_NameIsMandatory_Fail()
        {
            // arrange
            var clinic   = new Clinic();
            var response = new Response <Clinic>()
            {
                ErrorMessage = "Name is mandatory"
            };

            // act
            var result = _clinicService.Add(clinic);

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