public void SetLabel_ThrowsNotSupportedException() { // Arrange var context = new RadiosContext(name: null, aspFor: null); // Act var ex = Record.Exception(() => context.SetLabel(isPageHeading: false, attributes: null, content: null)); // Assert Assert.IsType <NotSupportedException>(ex); }