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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi,

I've been having some problem with using TypeMock.

SPListItem item = Isolate.Fake.Instance<SPListItem>();

item["KeyIndexMC4"] = "A";

string fieldRef = string.Concat("KeyIndex", "MC4");
item[fieldRef] = "B";

Assert.AreEqual("B", item["KeyIndexMC4"]);


The assertion will always return fail result.
I'm hoping I can find out if this is a bug.

Thanks in advance!
asked by yanwiweka (600 points)

1 Answer

0 votes
Hi,

It appears to be a bug...
We will look into it and post a solution on this thread.

Regards,
Yonatan,
Typemock Support
answered by yonatan (1.6k points)
...