  {
        //Act
        var output = await <strong>_taskAppService.GetAll</strong>(new GetAllTasksInput { State = <strong>TaskState.Open</strong> });

        //Assert
        output.Items.<strong>ShouldAllBe(t =&gt; t.State == TaskState.Open)</strong>;
    }
}</pre>

<p>I created two different tests to test GetAll method as shown above. Now, I can open Test Explorer (from Test\Windows\Test Explorer in the main menu of VS) and run the unit tests:</p>

<p><img alt="Test explorer" height="255" src="test-exp