public void TestGetUploadDispositionCodeAsCode_CodeIsNull() { var dto = new SevisBatchProcessingDTO { UploadDispositionCode = null }; Assert.IsNull(dto.GetUploadDispositionCodeAsCode()); }
public void TestGetUploadDispositionCodeAsCode() { var code = DispositionCode.Success; var dto = new SevisBatchProcessingDTO { UploadDispositionCode = code.Code }; Assert.AreEqual(code, dto.GetUploadDispositionCodeAsCode()); }