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."); }
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."); }
public void ViewLocatorNotFoundExceptionTest() { var fixture = new ViewLocatorNotFoundException(); Assert.Equal(fixture.Message, "Exception of type 'ReactiveUI.ViewLocatorNotFoundException' was thrown."); }