public void Init()
		{
			_registry = new RemoteEndpointRegistry();
			_serialization = new ProtoBufSerializationStrategy();

			_registry.ReRoute(TestHostName, "endpoint1");
		}
		public void ParseEndpoints_for_null_config_throws()
		{
			Assert.Throws<ArgumentNullException>(() =>
			{
				var reg = new RemoteEndpointRegistry();
				reg.ParseEndpoints(null);
			});
		}
		public void ParseEndpoints_reflects_entries()
		{
			var config = new MutableConfiguration("entries");
			config.CreateChild("item").Attribute("assembly", "asm1").Attribute("endpoint", "end");

			var reg = new RemoteEndpointRegistry();
			reg.ParseEndpoints(config);

			Assert.AreEqual(1, reg.EntriesCount);
		}
		public RemoteRequestService(IZmqContext context, 
									RemoteEndpointRegistry endpointRegistry, 
									SerializationStrategy serializationStrategy, 
									RequestPoll requestPoll)
		{
			this._context = context;
			this._endpointRegistry = endpointRegistry;
			this._serializationStrategy = serializationStrategy;
			this._requestPoll = requestPoll;
		}
		public void ParseEndpoints_for_nonempty_but_nochildren_config()
		{
			var reg = new RemoteEndpointRegistry();
			reg.ParseEndpoints(new MutableConfiguration("entries"));
		}