public void ConstructorSetsViewLocationExpanderAndType() { // Arrange var expander = new TestViewLocationExpander(); // Act var descriptor = new ViewLocationExpanderDescriptor(expander); // Assert Assert.Same(expander, descriptor.Instance); Assert.Equal(expander.GetType(), descriptor.OptionType); }