public void GetVariable() { var sut = new VariableService(); var actual = sut.GetVariableByName("WalletEndpointAddress"); Assert.Equal("WalletEndpointAddress", actual.Name); }
public ActionResult <Variable> GetVariableByName(string name) { var variable = _variablesService.GetVariableByName(name); return(Ok(variable)); }