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

Mock.SetupStatic Exception

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 24 Jun 2010, 05:12 AM
Hi,

I'm not sure if I'm setting this one up properly:

Mock

 

 

.SetupStatic(typeof(System.Web.Security.Membership));

 

 

 

 

 

I get the following exception message:

"The type 'System.Web.Security.MembershipCreateStatus&' may not be used as a type argument."

I'm trying to verify that Membership.CreateUser is being called inside a method.

Thanks,

Joe

1 Answer, 1 is accepted

Sort by
0
Accepted
Ricky
Telerik team
answered on 24 Jun 2010, 05:30 PM
Hi Joseph,
Thanks for reporting the issue. Acutally, i tried it in my dev machine and found a similar issue. As, the release is still a bit away. If you need this urgently , you can provide me with your email so that i can
send a build to you right away along with the fix.

Regards,
Mehfuz


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 Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 2
Answers by
Ricky
Telerik team
Share this question
or