public void testValidRetrieve() { Manifest testObject = ManifestTest.getDefaultObject(); Manifest retrievedObject; retrievedObject = apiResource.RetrieveManifest((string)testObject.ObjectId); Assert.AreEqual(testObject.ObjectId, retrievedObject.ObjectId); }
public void TestValidCreate() { Manifest testObject = ManifestTest.getDefaultObject(); Assert.AreEqual("NOTRANSACTIONS", testObject.ObjectStatus); }
public void TestInvalidCreate() { Assert.That(() => ManifestTest.getDefaultObject(), Throws.TypeOf <ShippoException>()); }