summaryrefslogtreecommitdiff
path: root/tests/unit/Collections/TMapTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Collections/TMapTest.php')
-rw-r--r--tests/unit/Collections/TMapTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/Collections/TMapTest.php b/tests/unit/Collections/TMapTest.php
index c6a2172c..81062855 100644
--- a/tests/unit/Collections/TMapTest.php
+++ b/tests/unit/Collections/TMapTest.php
@@ -1,7 +1,7 @@
<?php
require_once dirname(__FILE__).'/../phpunit.php';
-class MapItem {
+class TMapTest_MapItem {
public $data='data';
}
@@ -14,9 +14,9 @@ class TMapTest extends PHPUnit_Framework_TestCase {
public function setUp() {
$this->map=new TMap;
- $this->item1=new MapItem;
- $this->item2=new MapItem;
- $this->item3=new MapItem;
+ $this->item1=new TMapTest_MapItem;
+ $this->item2=new TMapTest_MapItem;
+ $this->item3=new TMapTest_MapItem;
$this->map->add('key1',$this->item1);
$this->map->add('key2',$this->item2);
}