Example #1
0
        public void GetDataTest()
        {
            using (var trans = TransHelper.NewScope())
            {
                //  arrange
                var expected = BiayaDataFactory();
                _biayaDal.Insert(expected);

                //  act
                var actual = _biayaDal.GetData("A1");

                //  assert
                actual.Should().BeEquivalentTo(expected);
            }
        }
Example #2
0
 public BiayaModel GetData(string id)
 {
     return(_biayaDal.GetData(id));
 }