public async Task Delete() { // arrange status var id = await UserStatusesEndpoint.Create(18667945, percent : 1, comment : "Not bad"); var result = await UserStatusesEndpoint.Delete(id); Assert.True(result); }
public async Task Create() { const int bookId = 186; var id = await UserStatusesEndpoint.Create(bookId, percent : 42, comment : "Really cool!"); // clean up status await UserStatusesEndpoint.Delete(id); Assert.NotEqual(default(long), id); }