Index: vhUnitTest/APPS/EC/impl/KlantDataReferentieBepaler/GeefKlantDataReferentie/TestVanHoeckeMetGekoppeldeOfferte.cls.xml
===================================================================
diff -u -r39923 -r39962
--- vhUnitTest/APPS/EC/impl/KlantDataReferentieBepaler/GeefKlantDataReferentie/TestVanHoeckeMetGekoppeldeOfferte.cls.xml (.../TestVanHoeckeMetGekoppeldeOfferte.cls.xml) (revision 39923)
+++ vhUnitTest/APPS/EC/impl/KlantDataReferentieBepaler/GeefKlantDataReferentie/TestVanHoeckeMetGekoppeldeOfferte.cls.xml (.../TestVanHoeckeMetGekoppeldeOfferte.cls.xml) (revision 39962)
@@ -3,110 +3,56 @@
vhUnitTest.TestCase
-
-DOM.common.dto.HandelKlantData
-1
-
-
-
-DOM.common.dto.GebruikerData
-1
-
-
-
-%String
-1
-
-
-
-vhTest.Mock.APPS.VKP.Offerte
-1
-
-
-
-aTestName:%String
+
-
+ Do OfferteServiceStub.IndienMethodCall("HeeftOfferteVanHandel",OfferteStub).DanReturn($$$true)
+ Do OfferteServiceStub.IndienMethodCall("GeefOfferteVanHandel",OfferteStub).DanReturn(GekoppeldeOfferteStub)
-
-
1
+DOM.common.dto.HandelKlantData
-
-
-1
-
-
-
-
-1
-%String
-
-
-
-
-1
-
Index: APPS/EC/impl/KlantDataReferentieBepaler.cls.xml
===================================================================
diff -u -r39917 -r39962
--- APPS/EC/impl/KlantDataReferentieBepaler.cls.xml (.../KlantDataReferentieBepaler.cls.xml) (revision 39917)
+++ APPS/EC/impl/KlantDataReferentieBepaler.cls.xml (.../KlantDataReferentieBepaler.cls.xml) (revision 39962)
@@ -8,6 +8,11 @@
-
+
+APPS.VKP.OfferteService
+1
+
+
%String
1
@@ -18,6 +23,18 @@
1
+
+OfferteService:APPS.VKP.OfferteService
+1
+1
+%Status
+1
+
+
+
Offerte:APPS.VKP.Offerte
%String
@@ -26,10 +43,9 @@
Set ..Offerte = Offerte
#dim Personality As DOM.common.Personality = Offerte.GeefPersonality()
- #dim OfferteService As APPS.VKP.OfferteService = ##class(APPS.ApplicatieContext).Instance().GeefVerkoopAPI().GeefOfferteService()
- If OfferteService.HeeftOfferteVanHandel(Offerte) {
- #dim OfferteVanHandel As APPS.VKP.Offerte = OfferteService.GeefOfferteVanHandel(Offerte)
+ If ..OfferteService.HeeftOfferteVanHandel(Offerte) {
+ #dim OfferteVanHandel As APPS.VKP.Offerte = ..OfferteService.GeefOfferteVanHandel(Offerte)
Set Personality = OfferteVanHandel.GeefPersonality()
}
@@ -157,7 +173,7 @@
#dim FAX As %String = KlantData.FaxNummer
Do ..VoegToeIndienNodig(FAX,"Fax: ")
- #dim LeverAdresInStringFormaat As %String = ..GeefLeverAdresInStringFormaat(..Offerte)
+ #dim LeverAdresInStringFormaat As %String = ..GeefLeverAdresInStringFormaat(..Offerte)
Do ..VoegToeIndienNodig(LeverAdresInStringFormaat,"Adres: ")
]]>
@@ -168,9 +184,8 @@
%String
Offerte:APPS.VKP.Offerte
1
DOM.VKP.LeverAdres
Index: vhTest/Utils/APPS/common/dto/Adres.cls.xml
===================================================================
diff -u -r38937 -r39962
--- vhTest/Utils/APPS/common/dto/Adres.cls.xml (.../Adres.cls.xml) (revision 38937)
+++ vhTest/Utils/APPS/common/dto/Adres.cls.xml (.../Adres.cls.xml) (revision 39962)
@@ -28,9 +28,9 @@
#Dim Adres As APPS.common.dto.Adres = ##class(APPS.common.dto.Adres).%New()
Set Adres.ID = ""
Set Adres.Aanspreking = "Dhr"
- Set Adres.Toenaam = "Jo"
+ Set Adres.Toenaam = ""
Set Adres.LandCode = "BE"
- Set Adres.Naam = "Kapoen"
+ Set Adres.Naam = "Een Belg"
Set Adres.Postcode = "9100"
Set Adres.Straat = "ANKERSTRAAT 91"
Set Adres.Taal = "N"