public void NavigateToTest()
        {
            var str = "content";

            sut.NavigateTo(str);
            Assert.Equal(str, sut.Content);
        }
Ejemplo n.º 2
0
 private void RegisterDebugger(IBindableIocService service)
 {
     service.Bind <Func <object, IRootNavigationWindow> >().ToConstant(o =>
     {
         var navWindow = new NavigationWindow();
         navWindow.NavigateTo(o);
         return(new RootNavigationWindow(navWindow));
     });
 }
 public void NavigationRecordsHistory()
 {
     sut.NavigateTo("Foo");
     history.Verify(i => i.Push("No Content"), Times.Once);
     history.VerifyNoOtherCalls();
 }