public async Task StoreServiceTicketSuccess_ShouldReturnNonEmptyKey() { // Arrange var expected = GenerateNewServiceTicket(); // Act var key = await _serviceTickets.StoreAsync(expected).ConfigureAwait(false); // Assert Assert.NotNull(key); }
public Task <string> StoreAsync(AuthenticationTicket ticket) { var serviceTicket = BuildServiceTicket(ticket); return(_store.StoreAsync(serviceTicket)); }