private void InsertValueToLabels()
        {
            using (new WaitCursorHandler())
            {
                _model = _services.Get(_view.DateTimePickerTanggal.Value.Date);

                if (_model != null)
                {
                    _view.LabelKasAwal.Text              = _model.kas_awal.ToString("C");
                    _view.LabelTotalPenjualan.Text       = _model.total_penjualan.ToString("C");
                    _view.LabelTotalDiskon.Text          = _model.total_diskon.ToString("C");
                    _view.LabelTotalPengeluaran.Text     = _model.total_pengeluaran.ToString("C");
                    _view.LabelTotalReturnPenjualan.Text = _model.total_return_penjualan.ToString("C");
                }

                _view.LabelSelisih.Text = _model.selisih.ToString("C");
            }
        }
        private void ShouldReturnSuccessForGet()
        {
            TransaksiByDateModel model = null;

            try
            {
                model = (TransaksiByDateModel)_services.Get(DateTime.Now.Date);
            }
            catch (DataAccessException ex)
            {
                _testOutputHelper.WriteLine(ex.DataAccessStatusInfo.GetFormatedValues());
            }

            Assert.True(model != null);

            if (model != null)
            {
                TestsHelper.WriteModel(_testOutputHelper, model);
            }
        }