@@ -0,0 +1,561 @@
+package org.mockitousage.bugs;%0A%0Aimport org.junit.Test;%0Aimport org.mockito.MockitoAnnotations;%0Aimport org.mockito.Spy;%0A%0Apublic class ConstructorInvokingMethodShouldNotRaiseExceptionTest %7B%0A    @Spy HasConstructorInvokingMethod hasConstructorInvokingMethod;%0A%0A    @Test%0A    public void should_be_able_to_create_spy() throws Exception %7B%0A        MockitoAnnotations.initMocks(this);%0A    %7D%0A%0A    private static class HasConstructorInvokingMethod %7B%0A        public HasConstructorInvokingMethod() %7B%0A            someMethod();%0A        %7D%0A        void someMethod() %7B %7D%0A    %7D%0A%7D%0A

Test demonstrating the issue in #220