[Luiza] Refactoring assertion