public void SetUp() { _dkimService = A.Fake <IDkimService>(); _entityToApiMapper = A.Fake <IEntityToApiMapper>(); _sut = new DkimController(A.Fake <IDkimApiDao>(), A.Fake <IMessagePublisher>(), _dkimService, A.Fake <IDkimApiConfig>(), _entityToApiMapper); }
public DkimController(IDkimApiDao dao, IMessagePublisher messagePublisher, IDkimService dkimService, IDkimApiConfig config, IEntityToApiMapper dkimEntityToApiMapper) { _dao = dao; _messagePublisher = messagePublisher; _config = config; _dkimEntityToApiMapper = dkimEntityToApiMapper; _dkimService = dkimService; }