public function testHandleWebspace()
{
$document = $this->prophesize(WebspaceBehavior::class);
$this->persistEvent->getDocument()->willReturn($document);
$this->inspector->getWebspace($document->reveal())->willReturn('example');
$this->accessor->set('webspaceName', 'example')->shouldBeCalled();
$this->subscriber->handleWebspace($this->persistEvent->reveal());
}