Exemplo n.º 1
0
    public void ThrowIfContextIsNotHttpContext()
    {
        var context  = new Object();
        var strategy = new SessionStrategy("__tenant__");

        Assert.Throws <AggregateException>(() => strategy.GetIdentifierAsync(context).Result);
    }