/** * @test * @expectedException \Apha\StateStore\Storage\DocumentNotFoundException */ public function clearIsIdempotent() { $storage = new MemoryStateStorage(); $storage->clear(); $storage->find('someidentity'); }