public async Task GetAllIncludeUnreadCount_StateUnderTest_ExpectedBehavior() { // Arrange var service = this.CreateService(); GetAllPropertyAgentAssignListInput input = null; // Act var result = await service.GetAllIncludeUnreadCount( input); // Assert Assert.True(false); }
public void GetAll_StateUnderTest_ExpectedBehavior() { // Arrange var service = this.CreateService(); service.AbpSession = Resolve <IAbpSession>(); LoginAsHost("85261107946"); service.ObjectMapper = LocalIocManager.Resolve <Abp.ObjectMapping.IObjectMapper>(); service.UnitOfWorkManager = Resolve <IUnitOfWorkManager>(); service.UnitOfWorkManager.Begin(); GetAllPropertyAgentAssignListInput input1 = new GetAllPropertyAgentAssignListInput { MaxResultCount = 10, SkipCount = 0, Sorting = "", Platform = Notification_Sendout_Log.NotificationPlatform.APortal }; // Act var result1 = service.GetAll( input1); // Assert Assert.True(result1.Status == TaskStatus.RanToCompletion && result1.Result.Items.Count > 0); }