コード例 #1
0
        public async void Should_Success_Get_All_Data_Koreksi_Harga_Satuan()
        {
            var facade = new GarmentCorrectionNoteFacade(_dbContext(GetCurrentMethod()));
            var data   = await dataUtil(facade, GetCurrentMethod()).GetTestDataKoreksiHargaSatuan(USERNAME);

            var Response = facade.Read();

            Assert.NotEqual(Response.Item1.Count, 0);
        }
コード例 #2
0
        public async Task Should_Success_Get_Data()
        {
            var facade    = new GarmentCorrectionNoteFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));
            var facadeQty = new GarmentCorrectionNoteQuantityFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));
            var data      = await dataUtil(facadeQty, GetCurrentMethod()).GetTestData(USERNAME);

            var Response = facade.Read();

            Assert.NotEmpty(Response.Item1);
        }