I'm writing a new unit test and am getting a java.lang.Exception
thrown with the error "no Mockery found in test class". This is happening as an initializationError
which makes sense as I'm setting up the mocks in an @Before
method.
Does anyone know what causes this error and what needs to be done to work around it?