@@ -46,8 +46,8 @@ void joinWithNullKeyFromRight() {
4646
4747 scoreDirector .setWorkingSolution (solution );
4848 assertScore (scoreDirector ,
49- assertMatch (entity1 , entity1 ),
50- assertMatch (entity2 , entity2 ));
49+ assertMatch (entity1 , entity1 ). withIndictedObjects ( entity1 ) ,
50+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
5151
5252 // Switch entity1 and entity2 values; now entity2 has null and entity1 does not.
5353 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -57,8 +57,8 @@ void joinWithNullKeyFromRight() {
5757 entity2 .setValue (null );
5858 scoreDirector .afterVariableChanged (entity2 , "value" );
5959 assertScore (scoreDirector ,
60- assertMatch (entity1 , entity1 ),
61- assertMatch (entity2 , entity2 ));
60+ assertMatch (entity1 , entity1 ). withIndictedObjects ( entity1 ) ,
61+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
6262
6363 // Put both to null.
6464 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -68,10 +68,10 @@ void joinWithNullKeyFromRight() {
6868 entity2 .setValue (null );
6969 scoreDirector .afterVariableChanged (entity2 , "value" );
7070 assertScore (scoreDirector ,
71- assertMatch (entity1 , entity1 ),
72- assertMatch (entity1 , entity2 ),
73- assertMatch (entity2 , entity1 ),
74- assertMatch (entity2 , entity2 ));
71+ assertMatch (entity1 , entity1 ). withIndictedObjects ( entity1 ) ,
72+ assertMatch (entity1 , entity2 ). withIndictedObjects ( entity1 , entity2 ) ,
73+ assertMatch (entity2 , entity1 ). withIndictedObjects ( entity1 , entity2 ) ,
74+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
7575 }
7676
7777 /**
@@ -107,7 +107,7 @@ void filteringJoinNullConflict() {
107107
108108 scoreDirector .setWorkingSolution (solution );
109109 assertScore (scoreDirector ,
110- assertMatch (entity2 , entity2 )); // Only entity1 is left, because forEach/join ignore nulls.
110+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) ); // Only entity1 is left, because forEach/join ignore nulls.
111111
112112 // Switch entity1 and entity2 values; now entity2 has null and entity1 does not.
113113 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -117,7 +117,7 @@ void filteringJoinNullConflict() {
117117 entity2 .setValue (null );
118118 scoreDirector .afterVariableChanged (entity2 , "value" );
119119 assertScore (scoreDirector ,
120- assertMatch (entity1 , entity1 ));
120+ assertMatch (entity1 , entity1 ). withIndictedObjects ( entity1 ) );
121121
122122 // Switch entity1 and entity2 values again to test the same from the other side.
123123 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -127,7 +127,7 @@ void filteringJoinNullConflict() {
127127 entity2 .setValue (value );
128128 scoreDirector .afterVariableChanged (entity2 , "value" );
129129 assertScore (scoreDirector ,
130- assertMatch (entity2 , entity2 ));
130+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
131131 }
132132
133133 /**
@@ -269,7 +269,7 @@ void filteringJoinNullConflictDifferentNodes() {
269269
270270 scoreDirector .setWorkingSolution (solution );
271271 assertScore (scoreDirector ,
272- assertMatch (entity2 , entity2 ));
272+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
273273
274274 // Switch entity1 and entity2 values; now entity2 has null and entity1 does not.
275275 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -279,7 +279,7 @@ void filteringJoinNullConflictDifferentNodes() {
279279 entity2 .setValue (null );
280280 scoreDirector .afterVariableChanged (entity2 , "value" );
281281 assertScore (scoreDirector ,
282- assertMatch (entity1 , entity1 ));
282+ assertMatch (entity1 , entity1 ). withIndictedObjects ( entity1 ) );
283283
284284 // Switch entity1 and entity2 values again to test the same from the other side.
285285 scoreDirector .beforeVariableChanged (entity1 , "value" );
@@ -289,7 +289,7 @@ void filteringJoinNullConflictDifferentNodes() {
289289 entity2 .setValue (value );
290290 scoreDirector .afterVariableChanged (entity2 , "value" );
291291 assertScore (scoreDirector ,
292- assertMatch (entity2 , entity2 ));
292+ assertMatch (entity2 , entity2 ). withIndictedObjects ( entity2 ) );
293293 }
294294
295295 /**
0 commit comments