Esempio n. 1
0
        public void TranslateBrowsePathsToNodeIdsAsyncNull()
        {
            var response = new TranslateBrowsePathsToNodeIdsResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.TranslateBrowsePathsToNodeIdsAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 2
0
        public void WriteAsyncNull()
        {
            var response = new WriteResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.WriteAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 3
0
        public void DeleteSubscriptionsAsyncNull()
        {
            var response = new DeleteSubscriptionsResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.DeleteSubscriptionsAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 4
0
        public void AddReferencesAsyncNull()
        {
            var response = new AddReferencesResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.AddReferencesAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 5
0
        public void SetTriggeringAsyncNull()
        {
            var response = new SetTriggeringResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.SetTriggeringAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 6
0
        public void ModifyMonitoredItemsAsyncNull()
        {
            var response = new ModifyMonitoredItemsResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.ModifyMonitoredItemsAsync(null))
            .Should().Throw <ArgumentNullException>();
        }
Esempio n. 7
0
        public void HistoryUpdateAsyncNull()
        {
            var response = new HistoryReadResponse();
            var channel  = new TestRequestChannel(response);

            channel.Invoking(c => c.HistoryReadAsync(null))
            .Should().Throw <ArgumentNullException>();
        }