public async void CanCreatePoll() { var poll = new StrawPoll(); var id = await poll.Create("Higgildy", new List<string> {"piggildy", "poo"}); Assert.NotSame("", id); }
public async void CanFetchPoll() { var poll = new StrawPoll(); var id = await poll.Create("Higgildy", new List<string> { "piggildy", "poo" }); Assert.NotSame("", id); var pollModel = await poll.Fetch(id.Split('/').Last()); Assert.NotNull(pollModel); }