Beispiel #1
0
        private async Task GivenServiceWithServiceTypeAndAddressExists(string serviceId, string serviceType, string address, string tag)
        {
            var result = await _neutrinoClient.AddServiceAsync(new Service
            {
                Id = serviceId, ServiceType = serviceType, Address = address, Tags = new[] { tag }
            });

            Assert.True(result.WasSuccessful);
        }
Beispiel #2
0
 private async Task WhenServiceWithServiceTypeAndAddressIsBeingAdded(string serviceId, string serviceType, string address)
 {
     _actionConfirmation = await _neutrinoClient.AddServiceAsync(new Service { Id = serviceId, ServiceType = serviceType, Address = address });
 }