コード例 #1
0
 public TlsRptController(ITlsRptApiDao dao,
                         IMessagePublisher messagePublisher,
                         ITlsRptApiConfig config,
                         ITlsRptService tlsRptService)
 {
     _dao = dao;
     _messagePublisher = messagePublisher;
     _config           = config;
     _tlsRptService    = tlsRptService;
 }
コード例 #2
0
 public void SetUp()
 {
     _TlsRptService = A.Fake <ITlsRptService>();
     _sut           = new TlsRptController(A.Fake <ITlsRptApiDao>(), A.Fake <IMessagePublisher>(), A.Fake <ITlsRptApiConfig>(), _TlsRptService);
 }