public function testCloneDoesCloneInnerValue() { $this->object->set(96); $clone = clone $this->object; $clone->set(104); $this->assertNotEquals($clone(), $this->object->get()); }
public function testGetInvokesGetAsNativeType() { $this->object->expects($this->once())->method('getAsNativeType')->will($this->returnValue('foo')); $this->assertEquals('foo', $this->object->get()); }