public function test_has_ObjectInMainMap_ReturnTrue() { $map = $this->mockIMap(); $testMap = new TestMap($map); $map->method('has')->with('a')->willReturn(true); $testMap->override('b', new \stdClass()); $this->assertTrue($testMap->has('a')); }
public function clear() { $this->testMap->clear(); }