public void TestAllResults()
{
// Fire the query.
var windows = Query().Where()
.Name().StartsWith("UIAutomation")
.And()
.Name().Contains("Visual Studio")
.Select().AllResults();
// Validate the result.
Assert.IsNotNull(windows);
Assert.IsTrue(windows.Count > 0);
}