public void SimpleExpressionSerializationTest()
        {
            using (Simply.KeyContext(ConfigKey))
            {
                ISimpleService service             = Simply.Do.Resolve <ISimpleService>();
                Expression <Predicate <int> > pred = i => i == 42;
                EditableExpression            expr = EditableExpression.Create(Funcletizer.PartialEval(pred));

                service.TestExpression(expr, 41).Should().Be.False();
                service.TestExpression(expr, 42).Should().Be.True();
            }
        }
        protected override Guid Configure()
        {
            Guid guid = Guid.NewGuid();

            using (Simply.KeyContext(guid))
            {
                Simply.Do.Configure.Remoting().FromXmlString(Helper.MakeConfig(Uri));
                Simply.Do.Host(typeof(SimpleService));
            }

            return(guid);
        }