public string Post(string document)
        {
            var bdx = new RiskBordereau
            {
                UniqueIdentifier = (new Guid()).ToString(),
                XML = "<root><data>information</data></root>"
            };

            var pipeline = new BordereauPipline();

            return(pipeline.Process(bdx).Url);
        }
Beispiel #2
0
        public void Pipeline_Builds()
        {
            var bordereau = new RiskBordereau
            {
                UniqueIdentifier = (new Guid()).ToString(),
                XML = "<root><data>information</data></root>"
            };

            var pipeline = new BordereauPipline();
            var actual   = pipeline.Process(bordereau);

            Assert.AreEqual(true, actual.Valid);
        }