Can you please cover with a test this branch of code?