public async Task Should_Success_Get_Data() { UnitPaymentOrderFacade facade = new UnitPaymentOrderFacade(_dbContext(GetCurrentMethod())); await _dataUtil(facade, GetCurrentMethod()).GetTestData(); var Response = facade.Read(); Assert.NotEqual(Response.Item1.Count, 0); }
public async Task Should_Success_Get_Data() { UnitPaymentOrderFacade facade = new UnitPaymentOrderFacade(GetServiceProvider(GetCurrentMethod()).Object, _dbContext(GetCurrentMethod())); await _dataUtil(facade, GetCurrentMethod()).GetTestData(); var Response = facade.Read(); Assert.NotEmpty(Response.Item1); }