public void InstanceIsNullable() { this.value.Instance = MI_Instance.NewDirectPtr(); Assert.NotNull(this.value.Instance); this.value.Instance = null; Assert.Null(this.value.Instance); }
public void DirectInstanceTableAccessesThrowWhenNotInitialized() { Xunit.Assert.Throws <InvalidOperationException>(() => MI_Instance.NewDirectPtr().Delete()); }