As implied by @Sarouje, just test your 'new' code. It will work in the same way as the your original.