public void whenBuildingDocumentPackageStatusWithAPIValueEXPIREDThenEXPIREDDocumentPackageStatusIsReturned() { string expectedSDKValue = "EXPIRED"; DocumentPackageStatus classUnderTest = DocumentPackageStatus.valueOf("EXPIRED"); string actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }
public void whenBuildingDocumentPackageStatusWithUnknownAPIValueThenUNRECOGNIZEDDocumentPackageStatusIsReturned() { string expectedSDKValue = "UNRECOGNIZED"; DocumentPackageStatus classUnderTest = DocumentPackageStatus.valueOf("ThisDocumentPackageStatusDoesNotExistInSDK"); String actualSDKValue = classUnderTest.getSdkValue(); Assert.AreEqual(expectedSDKValue, actualSDKValue); }