/** * @test */ public function offsetSetTest() { $function = 'Superman'; $key = 'function'; $this->fixture->offsetSet($key, $function); $this->assertEquals($function, $this->fixture->valueForKey($key)); }