8require_once 
'./libs/composer/vendor/autoload.php';
 
   43        $this->subject->put(
$key, $value);
 
   44        $result = $this->subject->toArray();
 
   58        $this->subject->put(
$key, $value);
 
   60        $this->setExpectedException(ElementAlreadyExistsException::class, 
"Element $key can not be overwritten.");
 
   62        $this->subject->put(
$key, $value);
 
   73        $this->subject->put(
$key, $value);
 
   76        $this->assertEquals($value, 
$result);
 
   86        $this->setExpectedException(NoSuchElementException::class, 
"No meta data associated with key \"$key\".");
 
   87        $this->subject->get(
$key);
 
An exception for terminatinating execution or to throw for unit testing.
Class EntryLockingStringMapTest.
testPutValueWhichShouldSucceed()
@Test
testGetWithoutPutTheValueWhichShouldFail()
@Test
testPutValueTwiceWhichShouldFail()
@Test
testGetWhichShouldSucceed()
@Test
Class EntryLockingStringMap.
Class ElementAlreadyExistsException.
Class MetadataNotFoundException.