public void SetRuntimePolicyToIgnore() { var policy = new GlimpseResourcePolicy(); var policyContextMock = new Mock<IRuntimePolicyContext>(); Assert.Equal(RuntimePolicy.ExecuteResourceOnly, policy.Execute(policyContextMock.Object)); }
public void ExecuteOnExecuteResource() { var policy = new GlimpseResourcePolicy(); Assert.Equal(RuntimeEvent.ExecuteResource, policy.ExecuteOn); }