コード例 #1
0
        public void SetUp()
        {
            _cathedraRepository = Mock.Of <ICathedraRepository>();
            _cathedraService    = new CathedraService(_cathedraRepository);

            _cathedra = new CathedraItem()
            {
                FullName  = "Информациионных систем и технологий",
                ShortName = "ИСиТ",
                FacultyId = 1
            };
        }
コード例 #2
0
 /// <summary>
 /// Конструктор контроллера людей.
 /// </summary>
 public CathedraController()
 {
     _cathedraService = new CathedraService();
 }
コード例 #3
0
 public void CathedraService_Void_Success()
 {
     var s = new CathedraService();
 }