```\nfunction test_ExtendLock_AlreadyEnded() external {\n        uint256 amount = 100e18;\n        uint256 duration = 5 days;\n\n        _stake(amount, duration, alice, alice);\n\n        // 5 days later, lock is ended for Alice\n        skip(5 days + 1);\n\n        (,, uint128 _ends,,) = veTRUF.lockups(alice, 0);\n\n        // Alice's lock is indeed ended\n        assertTrue(_ends < block.timestamp, "lock is ended");\n\n        // 36 days passed  \n        skip(36 days);\n\n        // Alice extends her already finished lock 30 more days\n        vm.prank(alice);\n        veTRUF.extendLock(0, 30 days);\n\n        (,,_ends,,) = veTRUF.lockups(alice, 0);\n\n        // Alice's lock can be easily unlocked right away\n        assertTrue(_ends < block.timestamp, "lock is ended");\n\n        // Alice unstakes her lock, basically alice can unstake her lock anytime she likes\n        vm.prank(alice);\n        veTRUF.unstake(0);\n    }\n```\n