public void VerifyResult()
        {
            DeletePackageExample example = new DeletePackageExample(Props.GetInstance());
            example.Run();

            Assert.IsNull(example.EslClient.GetPackage(example.PackageId));
        }
        public void VerifyResult()
        {
            DeletePackageExample example = new DeletePackageExample(Props.GetInstance());

            example.Run();

            Assert.IsNull(example.RetrievedPackage);
        }
        public void VerifyResult()
        {
            DeletePackageExample example = new DeletePackageExample(Props.GetInstance());

            example.Run();

            Assert.IsNull(example.EslClient.GetPackage(example.PackageId));
        }
Ejemplo n.º 4
0
        public void VerifyResult()
        {
            Assert.Throws <EslServerException>(() =>
            {
                DeletePackageExample example = new DeletePackageExample();
                example.Run();

                Assert.IsNull(example.RetrievedPackage);
            });
        }