views:

12

answers:

0

I have a wrapper class that basically wraps the functionality of creating a user and a profile. I can verify that the user is created using Moq. by passing in a mocked membership provider, and verifying that my method calls the mockproviders create user method. But the main reason that I am wrapping this is that with the user being created I need create a profile. But the profile provider doesn't have an equivalent class to create the profile for the user. Any idea on how I can test if my method is creating the profile for the user?