public void Setup() { _tokenService = Substitute.For <ITokenService>(); _pollRepository = Substitute.For <IPollRepository>(); _pollOptionRepository = Substitute.For <IPollOptionRepository>(); _pollBuilderController = new PollBuilderController(_tokenService, _pollRepository, _pollOptionRepository); }
public void Setup() { _tokenService = Substitute.For <ITokenService>(); _pollRepository = Substitute.For <IPollRepository>(); _pollOptionRepository = Substitute.For <IPollOptionRepository>(); _requestHeaderHandler = Substitute.For <IRequestHeaderHandler>(); _pollBuilderController = new PollBuilderController(_tokenService, _pollRepository, _pollOptionRepository, _requestHeaderHandler); }