Index: vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml =================================================================== diff -u -r59148 -r59160 --- vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 59148) +++ vhUnitTest/APPS/Halux/common/impl/ProductieGroepBepalerTBX/GeefProductieGroep/Test.cls.xml (.../Test.cls.xml) (revision 59160) @@ -176,13 +176,15 @@ #dim ProductieOpstartfaseBepalerMock As vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX = ##class(vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX).%New() - Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", TBXLade, ..#ProductID).DanReturn($$$False) + Do ProductieOpstartfaseBepalerMock.VerwachtMethodCall("IsInOpstartfase", TBXLade, ..#ProductID).DanReturn($$$False) #dim ProductieGroepBepaler As APPS.Halux.common.impl.ProductieGroepBepalerTBX = ##class(APPS.Halux.common.impl.ProductieGroepBepalerTBX).%New(ProductTypeApiStub, ProductieOpstartfaseBepalerMock) #dim ProductieGroep As APPS.Halux.common.enu.ProductieGroep = ProductieGroepBepaler.GeefProductieGroep("", ..#ProductID) Do $$$AssertNotEquals(ProductieGroep, VerwachteProductieGroep) Do $$$AssertEquals(ProductieGroep, VerwachteProductieGroepAangezienGeenToeleveringssplitser) + + Do ProductieOpstartfaseBepalerMock.Verifieer() ]]> @@ -223,12 +225,13 @@ #dim ProductieOpstartfaseBepalerMock As vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX = ##class(vhTest.Mock.APPS.Halux.common.impl.ProductieGroepBepaler.ProductieOpstartfaseBepalerTBX).%New() - Do ProductieOpstartfaseBepalerMock.IndienMethodCall("IsInOpstartfase", TBXLade, ..#ProductID).DanReturn(IsInOpstartFase) + Do ProductieOpstartfaseBepalerMock.VerwachtMethodCall("IsInOpstartfase", TBXLade, ..#ProductID).DanReturn(IsInOpstartFase) #dim ProductieGroepBepaler As APPS.Halux.common.impl.ProductieGroepBepalerTBX = ##class(APPS.Halux.common.impl.ProductieGroepBepalerTBX).%New(ProductTypeApiStub, ProductieOpstartfaseBepalerMock,,ToeleveringSplitser) #dim ProductieGroep As APPS.Halux.common.enu.ProductieGroep = ProductieGroepBepaler.GeefProductieGroep(FakeKlantID, ..#ProductID) Do $$$AssertEquals(ProductieGroep, VerwachteProductieGroep) + Do ProductieOpstartfaseBepalerMock.Verifieer() ]]>