예제 #1
0
        public async Task ReceivePortalList_Create()
        {
            list = await portal.Create();

            Assert.IsTrue(list.CreateCalled);
            Assert.IsTrue(list.Single().CreateChildCalled);
        }
        public async Task BaseAuthorization_Create()
        {
            var obj = await portal.Create();

            var authRule = scope.Resolve <IAuthorizationGrantedRule>();

            Assert.IsTrue(authRule.ExecuteCreateCalled);
        }
예제 #3
0
        public async Task ReceivePortal_Create()
        {
            domainObject = await portal.Create();

            Assert.IsTrue(domainObject.CreateCalled);
        }