public void Setup()
 {
     fakeDataAccess = Substitute.For<IDataAccess>();
     fakeView = Substitute.For<IRecordView>();
     target = new BoxEntry(fakeDataAccess);
     target.View = fakeView;
 }
        public BoxDetailsPresenter(IView view, IDataAccess dataAccess)
        {
            if (view == null) throw new Exception("view cannot be null");

            this.view = view;
            this.dataAccess = dataAccess;
            box = new BoxEntry(view, dataAccess);
        }
        public RecordPresenter(IRecordView view)
        {
            if (view == null) throw new Exception("view cannot be null");

            box = new BoxEntry(view);
        }