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); } }
public BiayaModel GetData(string id) { return(_biayaDal.GetData(id)); }