public void Equals_ForDifferentTasksReturnsFalse(TodoTaskId task1, TodoTaskId task2)
 {
     Assert.NotEqual(task1, task2);
     Assert.False(task1 == task2);
     Assert.True(task1 != task2);
     Assert.False(task1.Equals(task2));
 }
 public void Equals_ForTheSameTaskReturnsTrue(TodoTaskId taskId)
 {
     Assert.Equal(taskId, taskId);
     Assert.True(taskId == new TodoTaskId(taskId.Id));
     Assert.False(taskId != new TodoTaskId(taskId.Id));
     Assert.True(taskId.Equals(new TodoTaskId(taskId.Id)));
 }
 public void Equals_WhenTheValueIsComparedWithNull_ReturnsFalse(TodoTaskId task)
 {
     Assert.False(task.Equals(null));
 }
 public void Equals_ForTheSameInstanceReturnsTrue(TodoTaskId task)
 {
     Assert.Equal(task, task);
     Assert.True(task.Equals(task));
 }