The test DSL in integration tests is different from that of the unit tests. Typically, @TestFor and @Mock are not used in these tests. There is documentation here:
Part of this work is dsld, and part of this is STS work. I don't know if I will be able to fix this for 2.9.0.M1.