Пример #1
0
        public void GetLogDataService_HandlesType_ExpectName()
        {
            //------------Setup for test--------------------------
            var getLogDataService = new GetLogDataService();


            //------------Execute Test---------------------------

            //------------Assert Results-------------------------
            Assert.AreEqual("GetLogDataService", getLogDataService.HandlesType());
        }
        public void GetLogDataService_CreateServiceEntry_Returns_GetExecutionHistory()
        {
            //------------Setup for test-------------------------
            var getLogData = new GetLogDataService();
            //------------Execute Test---------------------------
            var dynamicService = getLogData.CreateServiceEntry();
            var handleType     = getLogData.HandlesType();

            //------------Assert Results-------------------------
            Assert.IsNotNull(dynamicService);
            Assert.IsFalse(string.IsNullOrEmpty(handleType));
            Assert.AreEqual(handleType, dynamicService.Name);
        }