File tree Expand file tree Collapse file tree
tests/SetSharp.Tests/ModelBuilder Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,28 +34,6 @@ public void BuildFrom_WithFlatPrimitives_ShouldCreateModelCorrectly()
3434 Assert . Equal ( "double" , rootModel . Properties . First ( p => p . PropertyName == "DefaultThreshold" ) . PropertyType ) ;
3535 }
3636
37- [ Fact ]
38- public void BuildFrom_WithSetSharpSection_ShouldIgnoreSetSharp ( )
39- {
40- // Arrange
41- var builder = new ConfigurationModelBuilder ( ) ;
42- var root = new Dictionary < string , object >
43- {
44- { "ConnectionString" , "Server=.;Database=Test;" } ,
45- { "SetSharp" , new Dictionary < string , object > ( ) }
46- } ;
47-
48- // Act
49- var result = builder . BuildFrom ( root ) ;
50-
51- // Assert
52- var rootModel = Assert . Single ( result ) ;
53- Assert . Equal ( "RootOptions" , rootModel . ClassName ) ;
54- Assert . Equal ( "" , rootModel . SectionPath ) ;
55-
56- Assert . DoesNotContain ( result , c => c . ClassName == "SetSharp" ) ;
57- }
58-
5937 [ Fact ]
6038 public void BuildFrom_WithNestedObject_ShouldCreateSeparateClassModel ( )
6139 {
You can’t perform that action at this time.
0 commit comments