Beispiel #1
0
        public void DeskInsertFailedNoEmployeeExists()
        {
            int  _notAPerson = 118;
            bool validation  = _testDesk.InsertInformationIntoDeskDB(_deskNum, _topLeftX, _topLeftY, _orient, _floorNum, _notAPerson);

            Assert.IsFalse(validation);
        }
Beispiel #2
0
 public void setup()
 {
     _deskNum   = "THX1138";
     _topLeftX  = 0;
     _topLeftY  = 1;
     _orient    = 0;
     _floorNum  = 5;
     _empID     = 117;
     _testDesk  = new DeskDB();
     _validator = new InfoValidator();
     _testDesk.InsertInformationIntoDeskDB(_deskNum, _topLeftX, _topLeftY, _orient, _floorNum, _empID);
 }