public void Bind_IfNullBindingData_ReturnsResolvedQueueName() { const string queueNamePattern = "queue-name-with-no-parameters"; IBindableQueuePath path = new BoundQueuePath(queueNamePattern); string result = path.Bind(null); Assert.Equal(queueNamePattern, result); }
public void Bind_IfNotNullBindingData_ReturnsResolvedQueueName() { const string queueNamePattern = "queue-name-with-no-parameters"; var bindingData = new Dictionary<string, object> { { "name", "value" } }; IBindableQueuePath path = new BoundQueuePath(queueNamePattern); string result = path.Bind(bindingData); Assert.Equal(queueNamePattern, result); }