chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Hi, There

I have another question. I'm using expectSet to check for set error string:
--------------------------------------------
beMock.ExpectSet("PatientLevelErrorString").Args("Client Visit was not specified");
--------------------------------------------

and here's what I'm getting:
===========================
TypeMock Verification: Call to SXAMMDeterminePriceBE.set_PatientLevelErrorString() Parameter: 1
expected: <"Client Visit was not specified">
but was: <Client Visit was not specified>
=============================

It seems that the Args() call in the expect statement took the double quotes literally. How did this happen? I'm specifying the string the same way the sample code is doing? Why is it different for me?

Thanks.


Richard
asked by rzhu (2.8k points)

1 Answer

0 votes
Hi Richard,

Sorry, couldn't reproduce it here. It looks like no double quotes are recorded.
Let's take it offline. I'll write an email with instructions how I think we should proceed.
answered by gilz (14.5k points)
...