コード例 #1
0
        public void Should_work_correctly()
        {
            var source = new JsonStringSource(TestCase.Json);

            source.Observe()
            .ShouldStartWithIn(1.Seconds(), (TestCase.SettingsNode, null as Exception));
        }
コード例 #2
0
        public void Should_propagate_changes_to_observers_on_external_push()
        {
            var source = new JsonStringSource("{ }");

            source.Push(TestCase.Json);

            source.Observe()
            .ShouldStartWithIn(1.Seconds(), (TestCase.SettingsNode, null as Exception));
        }