Exemple #1
0
        public void testValidRetrieve()
        {
            Manifest testObject = ManifestTest.getDefaultObject();
            Manifest retrievedObject;

            retrievedObject = apiResource.RetrieveManifest((string)testObject.ObjectId);
            Assert.AreEqual(testObject.ObjectId, retrievedObject.ObjectId);
        }
Exemple #2
0
        public void TestValidCreate()
        {
            Manifest testObject = ManifestTest.getDefaultObject();

            Assert.AreEqual("NOTRANSACTIONS", testObject.ObjectStatus);
        }
 public void TestInvalidCreate()
 {
     Assert.That(() => ManifestTest.getDefaultObject(), Throws.TypeOf <ShippoException>());
 }