You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertEquals(0, (result[0]!![0] asUtAssembleModel).modificationsChain.size) { "One of models must be without any modifications" }
486
+
assertEquals(0, (result[0]!![1] asUtAssembleModel).modificationsChain.size) { "One of models must be without any modifications" }
487
487
val expectedModificationSize =3
488
-
val modificationsChain = (result[0]!![1] asUtAssembleModel).modificationsChain
488
+
val modificationsChain = (result[0]!![0] asUtAssembleModel).modificationsChain
489
489
val actualModificationSize = modificationsChain.size
490
490
assertEquals(expectedModificationSize, actualModificationSize) { "In target class there's only $expectedModificationSize fields that can be changed, but generated $actualModificationSize modifications" }
491
491
@@ -513,10 +513,10 @@ class ModelProviderTest {
513
513
}
514
514
assertEquals(1, result.size)
515
515
assertEquals(3, result[0]!!.size)
516
-
assertEquals(0, (result[0]!![0] asUtAssembleModel).modificationsChain.size) { "One of models must be without any modifications" }
val modificationsChain = (result[0]!![1] asUtAssembleModel).modificationsChain
519
+
val modificationsChain = (result[0]!![0] asUtAssembleModel).modificationsChain
520
520
val actualModificationSize = modificationsChain.size
521
521
assertEquals(expectedModificationSize, actualModificationSize) { "In target class there's only $expectedModificationSize fields that can be changed, but generated $actualModificationSize modifications" }
0 commit comments