@Override
    public void removeSubscriber(Subscriber subscriber) {
        subscribers.remove(subscriber);
    }
@Test
    void testRemoveSubscriber() {
        publisher.addSubscriber(subscriber);
        assertEquals(1, publisher.getSubscribers().size());
        publisher.removeSubscriber(subscriber);
        assertEquals(0, publisher.getSubscribers().size());
    }