public void ThrowIfContextIsNotHttpContext() { var context = new Object(); var strategy = new SessionStrategy("__tenant__"); Assert.Throws <AggregateException>(() => strategy.GetIdentifierAsync(context).Result); }
public void ThrowIfContextIsNotHttpContext() { var context = new Object(); var strategy = new SessionStrategy("__tenant__"); Assert.Throws <AggregateException>(() => strategy.GetIdentifierAsync(context).Result); }