In this case it is not so easy, but there is ways.
refactor as you are more brave to do it.
isolation of method greatly helps with testing of it.
new code when it is needed.
a major rewrite would have been required.
as discussed before. But half a year later still no progress.