'Urlop', 'body' => 'Body', 'start_ts' => 1, 'end_ts' => 2, 'enabled' => true, ]; $created = $repo->create('alice', $rule); assert_true(isset($created['id'])); assert_same(1, count($repo->all('alice'))); assert_same(0, count($repo->all('bob'))); try { $repo->update('bob', $created['id'], ['subject' => 'Other']); } catch (RuntimeException $e) { assert_contains('not found', $e->getMessage()); return; } throw new RuntimeException('Expected cross-user update to fail'); });