when(mockPlatformTransactionManager.getTransaction(any(TransactionDefinition.class)))
.thenReturn(mockTransactionStatus);
mockTestScopeApplicationContextInstance = mock(Instance.class);
when(mockTestScopeApplicationContextInstance.get())
.thenReturn(new RemoteTestScopeApplicationContext(mockApplicationContext, testClass, false));
mockPlatformTransactionManagerInstance = mock(InstanceProducer.class);
mockTransactionStatusInstance = mock(InstanceProducer.class);
TestReflectionHelper.setFieldValue(instance, "applicationContextInstance",