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()
55
55
}
56
56
}
57
57
58
+ [ Test ]
59
+ public void ShouldBeAbleToReuseQueryPlan ( )
60
+ {
61
+ ShouldBeAbleToFindChildrenByName ( ) ;
62
+ Assert . That ( ShouldBeAbleToFindChildrenByName , Throws . Nothing ) ;
63
+ }
64
+
58
65
[ Test ]
59
66
public void ShouldNotInitializeCollectionWhenPerformingQuery ( )
60
67
{
@@ -129,10 +136,10 @@ protected override void OnSetUp()
129
136
using ( var session = OpenSession ( ) )
130
137
using ( var transaction = session . BeginTransaction ( ) )
131
138
{
132
- var parent1 = new Parent { Name = "Bob" } ;
139
+ var parent1 = new Parent { Name = "Bob" } ;
133
140
_parentId = ( Guid ) session . Save ( parent1 ) ;
134
141
135
- var parent2 = new Parent { Name = "Martin" } ;
142
+ var parent2 = new Parent { Name = "Martin" } ;
136
143
session . Save ( parent2 ) ;
137
144
138
145
var child1 = new Child
You can’t perform that action at this time.
0 commit comments