Example #1
0
        public RecordPresenter(IBoxEntry box)
        {
            if (box == null)
            {
                throw new Exception("box cannot be null");
            }

            this.box = box;
        }
        public RecordPresenter(IBoxEntry box)
        {
            if (box == null) throw new Exception("box cannot be null");

            this.box = box;
        }
 public void Setup()
 {
     fakeBox = Substitute.For<IBoxEntry>();
     target = new RecordPresenter(fakeBox);
 }
 public RecordPresenter(IBoxEntry boxEntry)
 {
     box = boxEntry;
 }