Hi Indium Mendix,
You can do it by using Unit testing module which is available in marketplace and also download the object handling module and now set your own test cases and execute the statement.
Check this link to know more..
https://medium.com/@deepti.shakya/unit-testing-with-mendix-45565a9b57e2#:~:text=When%20you%20click%20run%20Test,that%20unit%20test%20is%20executed.&text=To%20create%20a%20test%20microflow,a%20Boolean%20or%20a%20string.
I hope it will be useful.