コード例 #1
0
 public void SearchStringCheckTestWithoutString()
 {
     AccomodationsController controller = new AccomodationsController();
     var result = controller.SearchStringCheck(null);
     Assert.AreEqual(result, false);
 }
コード例 #2
0
 public void SearchStringCheckTestWithString()
 {
     AccomodationsController controller = new AccomodationsController();
     var result = controller.SearchStringCheck("Dubrovnik");
     Assert.AreEqual(result, true);
 }