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); }
private async Task WhenServiceWithServiceTypeAndAddressIsBeingAdded(string serviceId, string serviceType, string address) { _actionConfirmation = await _neutrinoClient.AddServiceAsync(new Service { Id = serviceId, ServiceType = serviceType, Address = address }); }