Example #1
0
        public void CanGetSnapshot()
        {
            RemoteMarketDataSnapshotter snapshotter = Context.ViewProcessor.MarketDataSnapshotter;

            RemoteViewCycleTests.WithViewCycle(
                delegate(ViewDefinitionCompiledArgs compiled, IViewCycle cycle, RemoteViewClient client)
            {
                var snapshot = snapshotter.CreateSnapshot(client, cycle);
                Assert.NotNull(snapshot);
            });
        }
Example #2
0
        public void CanGetYieldCurveSpecs()
        {
            RemoteMarketDataSnapshotter snapshotter = Context.ViewProcessor.MarketDataSnapshotter;

            RemoteViewCycleTests.WithViewCycle(
                delegate(ViewDefinitionCompiledArgs compiled, IViewCycle cycle, RemoteViewClient client)
            {
                var snapshot = snapshotter.GetYieldCurveRequirements(client, cycle);
                Assert.NotNull(snapshot);
                Assert.NotEmpty(snapshot);
            });
        }