[TASK] Unit tests for devIP condition

Cover the condition feature of issue #50092 with some test to
verify expected behaviour.

Change-Id: I116fb22f9ac0d6b1b869afe7844f38d235cdd39a
Resolves: #52887
Related: #50092
Releases: 6.2
Reviewed-on: https://review.typo3.org/24838
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters