public async Task GetLatestDweetForWithoutKey() { Thread.Sleep(1000); //make sure API is only called once every second for the same thing Assert.True((await DweetIO.GetLatestDweetFor("someRandomThingJustForDweetSharp")).StartsWith("{\"this\":\"succeeded\",")); }
public async Task FailRemoveLock() { Assert.False(await DweetIO.RemoveLock("dweetLock", "masterKey")); }
public async Task DweetQuietlyForWithoutKey() { Thread.Sleep(1000); //make sure API is only called once every second for the same thing Assert.True(await DweetIO.DweetQuietlyFor("someRandomThingJustForDweetSharp", "{\"test\":123456789}")); }
public async Task FailUnlock() { Assert.False(await DweetIO.Unlock("someRandomThingJustForDweetSharp", "masterKey")); }