public void Get_NonExistingItem_ReturnsNotFound() { var api = new ValuesController(); Action action = () => api.Get(null); action(); //action.ShouldThrow }