Exemple #1
0
        public void FromConfiguration_returns_null_if_item_cant_be_found()
        {
            var nameOfConnectionString = fixture.Create <string>();

            var descriptor = MassTransitConnectionDescriptor.FromConfiguration(nameOfConnectionString);

            Assert.That(descriptor, Is.Null);
        }
Exemple #2
0
        public void MassTransitConnectionDescriptor_can_be_parsed_from_configuration_file()
        {
            var descriptor = MassTransitConnectionDescriptor.FromConfiguration("Test");

            Assert.That(descriptor, Is.Not.Null);
        }