package au.gov.ga.geodesy.interfaces.rest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTransactionalTestNGSpringContextTests;
import org.springframework.test.context.web.AnnotationConfigWebContextLoader;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
import org.springframework.web.context.WebApplicationContext;
import org.testng.annotations.BeforeClass;

import au.gov.ga.geodesy.support.spring.GeodesyTestConfig;
import au.gov.ga.geodesy.support.spring.PersistenceJpaConfig;

@ContextConfiguration(
        classes = {GeodesyTestConfig.class, RestConfig.class, PersistenceJpaConfig.class},
        loader = AnnotationConfigWebContextLoader.class)

@WebAppConfiguration
public class RestTest extends AbstractTransactionalTestNGSpringContextTests {

    @Autowired
    private WebApplicationContext webApplicationContext;

    protected static MockMvc mvc;

    @BeforeClass
    public void setUp() throws Exception {
        mvc = MockMvcBuilders.webAppContextSetup(webApplicationContext).build();
    }
}

@@ -519,16 +519,81 @@
 ilders;%0A
+import org.springframework.transaction.annotation.Transactional;%0A
 import o
@@ -690,16 +690,75 @@
 Class;%0A%0A
+import au.gov.ga.geodesy.support.spring.GeodesyRestConfig;%0A
 import a
@@ -938,16 +938,23 @@
 .class, 
+Geodesy
 RestConf
@@ -1071,16 +1071,60 @@
 uration%0A
+@Transactional(%22geodesyTransactionManager%22)%0A
 public c

Use geodesyTransactionManager in all rest tests.