public void throws() { var registry = new SampleRegistry(); var outer = Exception <FubuException> .ShouldBeThrownBy(() => { registry.ToRuntime(); }); var expectedText = "The LightningQueues listener for port 2222 has\r\n mixed channel modes. Either make the modes be the same or use a different port number"; outer.ToString().Contains(expectedText); }
public void Setup() { _registry = new SampleRegistry(); _container = new Container(_registry); }