Example #1
0
        public void CreateTimeSheetTest_InvalidTest(TimeSheetData testData)
        {
            TimeSheet newTimeSheet = ts.CreateTimeSheet(testData.Id, testData.date, testData.project, testData.workedhour);

            Assert.IsNull(newTimeSheet);
        }
Example #2
0
        public void CreateTimeSheetTest_ValidTest(TimeSheetData testData)
        {
            TimeSheet newTimeSheet = ts.CreateTimeSheet(testData.Id, testData.date, testData.project, testData.workedhour);

            Assert.IsInstanceOf <TimeSheet>(newTimeSheet);
        }