public void RequireCap2() { DeserializerState d = default; d.Kind = ObjectKind.Capability; Assert.ThrowsException <InvalidOperationException>(() => d.RequireCap <ITestInterface>()); }
public void RequireCap2() { DeserializerState d = default; d.Kind = ObjectKind.Capability; Assert.ThrowsException <InvalidOperationException>(() => d.RequireCap <ITestInterface>()); }