PROBCORE-557 wrote integration test to test GetStatesFromPredicate
restore testStub.groovy