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); }
public void MassTransitConnectionDescriptor_can_be_parsed_from_configuration_file() { var descriptor = MassTransitConnectionDescriptor.FromConfiguration("Test"); Assert.That(descriptor, Is.Not.Null); }