File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
src/NHibernate.Test/NHSpecificTest/NH2319 Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ public void ShouldBeAbleToPerformComplexFiltering()
5555 }
5656 }
5757
58+ [ Test ]
59+ public void ShouldBeAbleToReuseQueryPlan ( )
60+ {
61+ ShouldBeAbleToFindChildrenByName ( ) ;
62+ Assert . That ( ShouldBeAbleToFindChildrenByName , Throws . Nothing ) ;
63+ }
64+
5865 [ Test ]
5966 public void ShouldNotInitializeCollectionWhenPerformingQuery ( )
6067 {
@@ -129,10 +136,10 @@ protected override void OnSetUp()
129136 using ( var session = OpenSession ( ) )
130137 using ( var transaction = session . BeginTransaction ( ) )
131138 {
132- var parent1 = new Parent { Name = "Bob" } ;
139+ var parent1 = new Parent { Name = "Bob" } ;
133140 _parentId = ( Guid ) session . Save ( parent1 ) ;
134141
135- var parent2 = new Parent { Name = "Martin" } ;
142+ var parent2 = new Parent { Name = "Martin" } ;
136143 session . Save ( parent2 ) ;
137144
138145 var child1 = new Child
You can’t perform that action at this time.
0 commit comments