public void WithDescription() { /* Given */ EnumDefinition original = @"enum ENUM { V1, V2 }"; /* When */ var modified = original .WithDescription("Description"); /* Then */ Assert.Null(original.Description); Assert.Equal("Description", modified.Description); }