Esempio n. 1
0
        public void ChannelFlow_SetsIfTheChannelIsActive(bool value)
        {
            // Arrange
            var node = new RabbitServer();

            using (var model = new FakeModel(node))
            {
                // Act
                model.ChannelFlow(value);

                // Assert
                Assert.Equal(value, model.IsChannelFlowActive);
            }
        }