This is a migrated thread and some comments may be shown as answers.

Unable to use Mock.Assert for void methods using JustMock

1 Answer 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kishore
Top achievements
Rank 1
Kishore asked on 07 Feb 2017, 06:59 AM
I'm trying to use Mock.Assert for a void method but i'm facing an exception "occurrence expectation failed. expected at least 1 call. calls so far: 0". Could anyone please help me out on the same.

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 10 Feb 2017, 07:32 AM
Hi,

Thank you for your interest in JustMock.

Could you please share with us some code samples so we can help. What are you trying to achieve?

Regards,
Svetlozar
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kishore
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Share this question
or