public Server(ILog log, Settings settings, IEndpointFactory endpointFactory, IThreadManager threadManager) { this.log = log; this.settings = settings; this.endpointFactory = endpointFactory; this.threadManager = threadManager; }
protected override void given() { this.settings = settings_loader.load("shared_secret_too_short.config").GetSection("pushbaby") as Settings; }
protected override void given() { this.settings = settings_loader.load("uri_with_no_trailing_slash.config").GetSection("pushbaby") as Settings; }
protected override void when() { this.settings = settings_loader.load("basic_valid.config").GetSection("pushbaby") as Settings; }