Ejemplo n.º 1
0
 public TCreate_Return[] create(TCreate_Input[] Groups) {
     object[] results = this.Invoke("create", new object[] {
                 Groups});
     return ((TCreate_Return[])(results[0]));
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public System.IAsyncResult Begincreate(TCreate_Input[] Groups, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("create", new object[] {
                 Groups}, callback, asyncState);
 }
Ejemplo n.º 3
0
        /// <summary>
        /// test creation of a customer group and check if method returns a true value
        /// </summary>
        public void testCreate()
        {
            TCreate_Input[] groups = new TCreate_Input[] { group_in };

            TCreate_Return[] groups_out = customerGroupService.create(groups);

            // test if creation was successful
            Assert.AreEqual(1, groups_out.Length, "create result set");

            TCreate_Return group_out = groups_out[0];
            Assert.AreEqual(alias, group_out.Alias, "customer alias");
            Assert.AreEqual(true, group_out.created, "created?");
        }