public void SetUp() { _telephoneNumber = GetInst <IUserTelephoneNumberLogic>(); _ssn = GetInst <ISSNLogic>(); base.Setup(); }
public T CreateTestControllerWith <T>(IUserTelephoneNumberLogic tn = null, ISSNLogic ssn = null) where T : ApiController, new() { return(new SocialSecurityNumberController(_telephoneNumber, _ssn) as T); }