Beispiel #1
0
        public void Start_TwoTimes_ShouldWhrowException()
        {
            //arrange
            var todo = new ToDoItem();

            //act
            todo.Start();
            todo.Start();
        }
Beispiel #2
0
        public void Start_ShouldSetCorrectState()
        {
            //arrange
            var todo = new ToDoItem();

            //act
            todo.Start();
            //assert
            Assert.AreEqual(Status.InProgress, todo.Status);
        }