Exemplo n.º 1
0
        public void testValidRetrieve()
        {
            Manifest testObject = ManifestTest.getDefaultObject();
            Manifest retrievedObject;

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

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