public void NestedType_Reference_To_Parent_Injection() { var parent = new NestedClassParent(); var child = new NestedClassParent.NestedClassChild(parent); // This will throw an null exception Assert.AreEqual(true, true); }
public NestedClassChild(NestedClassParent parent) { this.parent = parent; }