Fix code coverage for this method not recognising it as tested