public void HoldInstanceWithNull()
        {
            // Setup
            var lifespan = new DefaultLifespan();

            // Execute
            lifespan.Hold(a_instance: null);
        }
        public void HoldInstance()
        {
            // Setup
            var lifespan = new DefaultLifespan();
            var instance = new object();

            // Execute
            lifespan.Hold(instance);

            // Assert
            Assert.IsNull(lifespan.Instance);
        }
        public void KillInstanceWithNoInstanceHeld()
        {
            // Setup
            var lifespan = new DefaultLifespan();
            var instance = new object();
            lifespan.Hold(instance);

            // Execute
            lifespan.Kill();

            // Assert
            Assert.IsNull(lifespan.Instance);
        }