public void Initialize() { // create fakes _accountManagerProvider = A.Fake<IAccountManagerProvider>(); _sessionFactory = A.Fake<ISessionFactory>(); // create session manager _sessionManager = new SessionManager(_accountManagerProvider, _sessionFactory); }
public void Initialize() { // create fakes _accountManagerProvider = A.Fake <IAccountManagerProvider>(); _sessionFactory = A.Fake <ISessionFactory>(); // create session manager _sessionManager = new SessionManager(_accountManagerProvider, _sessionFactory); }
/// <summary> /// Instantiates a <see cref="SessionManager"/> /// </summary> /// <param name="accountManagerProvider"></param> /// <param name="sessionFactory"></param> public SessionManager(IAccountManagerProvider accountManagerProvider, ISessionFactory sessionFactory) { _accountManagerProvider = accountManagerProvider; _sessionFactory = sessionFactory; }
/// <summary> /// Instantiates a <see cref="SessionManager"/> /// </summary> /// <param name="accountManagerProvider"></param> /// <param name="sessionFactory"></param> public SessionManager(IAccountManagerProvider accountManagerProvider, ISessionFactory sessionFactory) { _accountManagerProvider = accountManagerProvider; _sessionFactory = sessionFactory; }