public void InitialSearchResultsWindow()
 {
     searchWindow        = new SearchWindow();
     searchWindowResults = new SearchWindowResults(searchWindow.CalculateResultList());
     Assert.IsNotNull(searchWindowResults);
     Assert.IsInstanceOf <WpfApp.SearchWindowResults>(searchWindowResults, "This test failed due to a failed instance of searchWindowResults being an instance of SearchWindowResults");
 }
 public void ShowSearchWindowResults()
 {
     searchWindow        = new SearchWindow();
     searchWindowResults = new SearchWindowResults(searchWindow.CalculateResultList());
     searchWindowResults.Show();
     if (searchWindowResults.IsVisible == false)
     {
         Assert.Fail();
     }
     else
     {
         searchWindowResults.Hide();
         Assert.Pass();
     }
 }