public void TestGetProcessDispositionCodeAsCode_ProcessCodeIsNull() { var dto = new SevisBatchProcessingDTO { ProcessDispositionCode = null }; Assert.IsNull(dto.GetProcessDispositionCodeAsCode()); }
public void TestGetProcessDispositionCodeAsCode() { var code = DispositionCode.Success; var dto = new SevisBatchProcessingDTO { ProcessDispositionCode = code.Code }; Assert.AreEqual(code, dto.GetProcessDispositionCodeAsCode()); }