public void Haber_validation_check() { Mock <IHaberDal> mock = new Mock <IHaberDal>(); HaberManager productManager = new HaberManager(mock.Object); productManager.Add(new Haber { Detay = "Detay" }); }
public void Haber_validation_check() { Mock <IHaberDal> mock = new Mock <IHaberDal>(); HaberManager productManager = new HaberManager(mock.Object); productManager.Add(new Haber { Detay = "Detay" }); }