public void Test_LifeTimeModule_KillsObjectOnlyWhenLifeTimeGreaterThanTotalElapsedTime()
        {
            MockBaseObject mockBaseObject = new MockBaseObject();

            mockBaseObject.AddModule(new LifeTimeModule(3));
            mockBaseObject.Update(3);

            mockBaseObject.CheckAlive();

            mockBaseObject.Update(0.001f);

            mockBaseObject.CheckDead();
        }
        public void Test_LifeTimeModule_DoesntKillObjectWhenLifeTimeLeft()
        {
            MockBaseObject mockBaseObject = new MockBaseObject();

            mockBaseObject.AddModule(new LifeTimeModule(3));
            mockBaseObject.Update(1.5f);

            mockBaseObject.CheckAlive();
        }
        public void Test_LifeTimeModule_KillsObjectWhenLifeTimeUp()
        {
            MockBaseObject mockBaseObject = new MockBaseObject();

            mockBaseObject.AddModule(new LifeTimeModule(3));
            mockBaseObject.Update(3.5f);

            mockBaseObject.CheckDead();
        }