public void TestAuthCoreNegative()
{
auth.Setup(a => a.HasRole(It.IsAny<Role[]>())).Returns(false);
Assert.IsFalse((bool)authCore.GetType().InvokeMember("AuthorizeCore",
BindingFlags.InvokeMethod | BindingFlags.NonPublic | BindingFlags.Instance,
null,
authCore,
new object[]{null}));
}