Ejemplo n.º 1
0
        public void CanCreateAsync()
        {
            Assert.DoesNotThrowAsync(async() =>
            {
                IDataOperations testOperations = CreateOperationsInterface();

                Task task = testOperations.CreateAsync("LastName", "FirstName", gender: 'm', age: 19, grade: 11);
                Assert.IsNotNull(task, "The Task returned must not be null");

                await task;
            },
                                     "The async create operation must be successful");
        }