public abstract class AbstractTest {
- private final DataStoreContext dataStoreContextUtil;
+ private static DataStoreContext dataStoreContextUtil = new DataStoreContextImpl();
- protected AbstractTest() {
- dataStoreContextUtil = new DataStoreContextImpl();
- }
-
- public DataBroker getDataBroker() {
+ public static DataBroker getDataBroker() {
return dataStoreContextUtil.getDataBroker();
}
return dataStoreContextUtil.getDOMDataBroker();
}
- public DataStoreContext getDataStoreContextUtil() {
+ public static DataStoreContext getDataStoreContextUtil() {
return dataStoreContextUtil;
}