Ensure the abstract test works from a clean instance, otherwise if you run it alongside the DefaultImpl test they'll clash as they're working from the same in-memory store. (Basically, the in-memory store is not thread-safe - you need a single instance)

git-svn-id: https://svn.apache.org/repos/asf/wookie/trunk@1641335 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/wookie-services/wookie-spi/src/test/java/org/apache/wookie/services/AbstractSharedContextServiceTest.java b/wookie-services/wookie-spi/src/test/java/org/apache/wookie/services/AbstractSharedContextServiceTest.java
index ec8eff6..4ff38fd 100644
--- a/wookie-services/wookie-spi/src/test/java/org/apache/wookie/services/AbstractSharedContextServiceTest.java
+++ b/wookie-services/wookie-spi/src/test/java/org/apache/wookie/services/AbstractSharedContextServiceTest.java
@@ -8,8 +8,11 @@
 import org.apache.wookie.beans.IParticipant;
 import org.apache.wookie.beans.ISharedData;
 import org.apache.wookie.services.impl.DefaultParticipantImpl;
+import org.apache.wookie.services.impl.DefaultSharedContextService;
 import org.apache.wookie.services.impl.DefaultSharedDataImpl;
 import org.junit.After;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
 import org.junit.Test;
 
 
@@ -20,6 +23,15 @@
 	protected static final String API_KEY = "testapikey";
 	protected static final String CONTEXT_ID = "23";
 	protected static final String WIDGET_ID = "http://test.widget/";
+	
+	@BeforeClass
+	public static void setup(){
+		svc = new DefaultSharedContextService();
+	}
+	
+	@AfterClass
+	public static void tearDown(){
+	}
 
 	@After
 	public void cleanUp(){