Exemplo n.º 1
0
        public void ViewLocatorNotFoundExceptionTestWithMessageAndInnerException()
        {
            var fixture = new ViewLocatorNotFoundException("We are terribly sorry but the View Locator was Not Found.", new Exception("Inner Exception added."));

            Assert.Equal(fixture.Message, "We are terribly sorry but the View Locator was Not Found.");
            Assert.Equal(fixture.InnerException?.Message, "Inner Exception added.");
        }
Exemplo n.º 2
0
        public void ViewLocatorNotFoundExceptionTestWithMessage()
        {
            var fixture = new ViewLocatorNotFoundException("We are terribly sorry but the View Locator was Not Found.");

            Assert.Equal(fixture.Message, "We are terribly sorry but the View Locator was Not Found.");
        }
Exemplo n.º 3
0
        public void ViewLocatorNotFoundExceptionTest()
        {
            var fixture = new ViewLocatorNotFoundException();

            Assert.Equal(fixture.Message, "Exception of type 'ReactiveUI.ViewLocatorNotFoundException' was thrown.");
        }