public void test_defaultView_DoesNothing_WhenPassedNull() { ViewConfiguration configuration = new ViewConfiguration(); configuration.SetDefaultView(null); Assert.Null(configuration.DefaultView); }
public void test_defaultView() { SystemLandscapeView view = Views.CreateSystemLandscapeView("key", "Description"); ViewConfiguration configuration = new ViewConfiguration(); configuration.SetDefaultView(view); Assert.Equal("key", configuration.DefaultView); }