diff --git a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php
index 0822d892..d7da42e0 100644
--- a/tests/HTMLPurifier/DefinitionCache/SerializerTest.php
+++ b/tests/HTMLPurifier/DefinitionCache/SerializerTest.php
@@ -1,5 +1,6 @@
setReturnValue('getBatch', $values, array('Test'));
- return $config;
- }
-
- /**
- * Returns an anonymous def that has been setup and named Test
- */
- function generateDefinition($member_vars = array()) {
- $def = new HTMLPurifier_Definition();
- $def->setup = true;
- $def->type = 'Test';
- foreach ($member_vars as $key => $val) {
- $def->$key = $val;
- }
- return $def;
- }
-
/**
* Asserts that a file exists, ignoring the stat cache
*/
diff --git a/tests/HTMLPurifier/DefinitionCacheHarness.php b/tests/HTMLPurifier/DefinitionCacheHarness.php
new file mode 100644
index 00000000..9747b615
--- /dev/null
+++ b/tests/HTMLPurifier/DefinitionCacheHarness.php
@@ -0,0 +1,33 @@
+setReturnValue('getBatch', $values, array('Test'));
+ return $config;
+ }
+
+ /**
+ * Returns an anonymous def that has been setup and named Test
+ */
+ function generateDefinition($member_vars = array()) {
+ $def = new HTMLPurifier_Definition();
+ $def->setup = true;
+ $def->type = 'Test';
+ foreach ($member_vars as $key => $val) {
+ $def->$key = $val;
+ }
+ return $def;
+ }
+
+}
+
+?>
\ No newline at end of file