We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 806ca93 commit 2644201Copy full SHA for 2644201
1 file changed
OnTopic.Tests/AttributeCollectionTest.cs
@@ -449,9 +449,9 @@ public void SetValue_ValueChanged_IsDirty() {
449
[Fact]
450
public void Clear_NonNullableValueWithBusinessLogic_ThrowsException() {
451
452
- var topic = new CustomTopic("Test", "Page");
453
-
454
- topic.NonNullableAttribute = "Test";
+ var topic = new CustomTopic("Test", "Page") {
+ NonNullableAttribute = "Test"
+ };
455
456
Assert.Throws<ArgumentNullException>(() =>
457
topic.Attributes.Clear()
0 commit comments