コード例 #1
0
        public void TestGetProcessDispositionCodeAsCode_ProcessCodeIsNull()
        {
            var dto = new SevisBatchProcessingDTO
            {
                ProcessDispositionCode = null
            };

            Assert.IsNull(dto.GetProcessDispositionCodeAsCode());
        }
コード例 #2
0
        public void TestGetProcessDispositionCodeAsCode()
        {
            var code = DispositionCode.Success;
            var dto  = new SevisBatchProcessingDTO
            {
                ProcessDispositionCode = code.Code
            };

            Assert.AreEqual(code, dto.GetProcessDispositionCodeAsCode());
        }