Ejemplo n.º 1
0
 public DkimEntityHistory(
     ILogger <DkimEntityHistory> log,
     IDkimHistoryEntityDao dao)
 {
     _dao = dao;
     _log = log;
 }
        protected override void SetUp()
        {
            base.SetUp();

            IConnectionInfoAsync connectionInfoAsync = A.Fake <IConnectionInfoAsync>();

            A.CallTo(() => connectionInfoAsync.GetConnectionStringAsync()).Returns(ConnectionString);

            _dao = new DkimHistoryEntityDao(connectionInfoAsync);
        }