return context;\r
}\r
\r
+ @Override\r
+ protected void tearDown() throws Exception {\r
+ if (context != null && context.isActive())\r
+ context.close();\r
+ super.tearDown();\r
+ }\r
+\r
/** Whether the context should be started after being created. */\r
protected Boolean getIsStartContext() {\r
return false;\r