Code Duplication    Length = 10-10 lines in 2 locations

tests/unit/Model/AbstractModelTest.php 2 locations

@@ 71-80 (lines=10) @@
68
	}
69
	
70
	
71
	public function testSetVocabulary()
72
	{
73
		$vocabulary = $this->vocabulary;
74
		$vocabulary['my'] = 'urn:test:';
75
		
76
		$obj = new DummyModel(array());
77
		$obj->setVocabulary('my','urn:test:');
78
		
79
		$this->assertEquals($vocabulary,  $obj->getVocabularies());
80
	}
81
	
82
	
83
	public function testUnsetVocabulary()
@@ 83-92 (lines=10) @@
80
	}
81
	
82
	
83
	public function testUnsetVocabulary()
84
	{
85
		$vocabulary = $this->vocabulary;
86
		unset($vocabulary['foaf']);
87
		
88
		$obj = new DummyModel(array());
89
		$obj->unsetVocabulary('foaf');
90
		
91
		$this->assertEquals($vocabulary,  $obj->getVocabularies());
92
	}
93
	
94
95
    /**