Implementation that validates tests Instance considered that valid configurations for attributes of the types TEXT, INTEGER and LONGTEXT

You can split this variable into two: nullConfiguration and emptyConfiguration

So, the empty conditional would be if (!nullConfiguration && !emptyConfiguration)