public void AnimationInputSettings_ShouldHaveProperPublicAPI() { var cube = GameObject.CreatePrimitive(PrimitiveType.Cube); var input = new AnimationInputSettings { gameObject = cube }; input.AddComponentToRecord(typeof(Transform)); input.AddComponentToRecord(typeof(Renderer)); Assert.IsTrue(input.gameObject == cube); input.gameObject = null; Assert.IsTrue(input.gameObject == null); }