public void TestGetDownloadDispositionCodeAsCode_CodeIsNull() { var dto = new SevisBatchProcessingDTO { DownloadDispositionCode = null }; Assert.IsNull(dto.GetDownloadDispositionCodeAsCode()); }
public void TestGetDownloadDispositionCodeAsCode() { var code = DispositionCode.Success; var dto = new SevisBatchProcessingDTO { DownloadDispositionCode = code.Code }; Assert.AreEqual(code, dto.GetDownloadDispositionCodeAsCode()); }