52535455565758596061
Object spiedInstance = settings.getSpiedInstance(); T mock = ClassImposterizer.INSTANCE.imposterise(filter, classToMock, ancillaryTypes); if (spiedInstance != null) { new LenientCopyTool().copyToMock(spiedInstance, mock); } return mock; }
68697071727374757677
} else { MockRepository.putInstanceMethodInvocationControl(mock, mockData.getMethodInvocationControl()); } if (isSpy) { new LenientCopyTool().copyToMock(delegator, mock); } return mock; }