예제 #1
0
        public void ObservableCreatedOnSubscribeError()
        {
            // Create an observable for a non-existing variable
            var observable = client.ObservableFor <short>("MAIN.varNonExist", 100);

            var observer = new TestObserver <short>();

            observable.Subscribe(observer);

            Assert.True(observer.HasReceivedError());
        }