public IEnumerable<string> Get() { return new string[] { "value1", "value2" }; }
public void GetValueForPositiveInt_OK(int id) { var controller = new ValuesController(); var val = controller.Get(id); Assert.Equal((val as ObjectResult).Value, "value"); }