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
+1 vote

Hi,

I have a general question, I have a project with many static methods.

Is there a way to change their behavior, and make them return whatever I want them to return?

For example, I have the following method: public static ReturnAmountUsers()

which returns the number of users that entered my website.

How can I control the returned value of this method?

Cheers,

Allen Biton.

asked by Allen_Biton (610 points)

1 Answer

0 votes

Hi Allen,

We do have a way to control the behavior of a static method.

You can enter this LINK and read about it and more.

If you will need any more assistance, don\'t hesitate to contact us.

Cheers,

Alon Sapozhnikov.

Support Specialist| TypeMock

answered by Alon_TypeMock (10.6k points)
...