public void ToWorkClassCopyMethodReturnsCorrectAtTimePropertyIfAtTimeIsNull()
        {
            ToWork testObject = new ToWork {
                AtTime = null
            };

            ToWork testResult = testObject.Copy();

            Assert.IsNull(testResult.AtTime);
        }
        public void ToWorkClassCopyMethodReturnsCorrectAtTimePropertyIfAtTimeIsNotNull()
        {
            TimeOfDay testTime   = _rnd.NextTimeOfDay();
            ToWork    testObject = new ToWork {
                AtTime = testTime
            };

            ToWork testResult = testObject.Copy();

            Assert.AreEqual(testTime, testResult.AtTime);
        }
        public void ToWorkClassCopyMethodReturnsCorrectTextProperty()
        {
            string testText   = _rnd.NextString(_rnd.Next(256));
            ToWork testObject = new ToWork {
                Text = testText
            };

            ToWork testResult = testObject.Copy();

            Assert.AreEqual(testText, testResult.Text);
        }