public void is_for_Channel_doesnt_work_for_unknown_Channel()
        {
            var channel = Substitute.For<ITcpChannel>();
            var transactionManager = Substitute.For<ITransactionManager>();

            var sut = new StompClient(channel, transactionManager);
            var actual = sut.IsForChannel(Substitute.For<ITcpChannel>());

            actual.Should().BeFalse();
        }
        public void is_for_Channel_checks_internal_channel_object()
        {
            var channel = Substitute.For<ITcpChannel>();
            var transactionManager = Substitute.For<ITransactionManager>();

            var sut = new StompClient(channel, transactionManager);
            var actual = sut.IsForChannel(channel);

            actual.Should().BeTrue();
        }