Пример #1
0
 public AllTimelogTypeQueryTest()
 {
     _session        = new Mock <ISession>();
     _sessionFactory = new Mock <ISessionFactory>();
     _sessionFactory.Setup(c => c.GetCurrentSession()).Returns(_session.Object);
     _query = new AllTimelogTypeQuery(_sessionFactory.Object);
 }
 public TimelogTypeGetAllHandler(IAllTimelogTypeQuery query)
 {
     _query = query.ArgNotNull();
 }