Beispiel #1
0
        public async Task GetPropertyListForClient_StateUnderTest_ExpectedBehavior()
        {
            // Arrange
            var service = this.CreateService();
            GetAllPropertyListInput input = null;

            // Act
            var result = await service.GetPropertyListForClient(
                input);

            // Assert
            Assert.True(false);
        }
Beispiel #2
0
        public void GetPropertyLeaseList_StateUnderTest_ExpectedBehavior()
        {
            var unitUnderTest = this.CreateService();

            unitUnderTest.AbpSession = Resolve <IAbpSession>();
            LoginAsHost("85261107946");
            unitUnderTest.ObjectMapper = LocalIocManager.Resolve <Abp.ObjectMapping.IObjectMapper>();

            // Arrange
            GetAllPropertyListInput input1 = new GetAllPropertyListInput {
                MaxResultCount = 20, SkipCount = 0, Sorting = ""
            };


            // Act
            var result1 = unitUnderTest.GetPropertyLeaseList(
                input1);

            // Assert
            Assert.True(result1.Status == TaskStatus.RanToCompletion);// && result1.Result.Items.Count > 0);
        }