public async Task Can_ExpireAt() { await RedisAsync.SetValueAsync("key", "val"); var unixNow = DateTime.Now.ToUnixTime(); var in2Secs = unixNow + 2; await NativeAsync.ExpireAtAsync("key", in2Secs); Assert.That(await RedisAsync.ContainsKeyAsync("key"), Is.True); await Task.Delay(3000); Assert.That(await RedisAsync.ContainsKeyAsync("key"), Is.False); }