### Question:
SubscriptionUpdater implements Runnable { public void run() { client.pushStatusChange(subscription, change); } SubscriptionUpdater(SubscriberClient client, Subscription subscription, StatusChange change); void run();  }### Answer:
@Test public void runUpdaterVerifyClientCall() { SubscriberClient client = mock(SubscriberClient.class); Subscription subscription = new Subscription(SUBSCRIPTION_IDENTITY, SUBSCRIPTION_DELIVERY_ADDRESS); StatusChange statusChange = new StatusChange(CHARGING_STATION_ID.getId(), new Date(), ComponentStatus.AVAILABLE, 2); SubscriptionUpdater subscriptionUpdater = new SubscriptionUpdater(client, subscription, statusChange); subscriptionUpdater.run(); verify(client).pushStatusChange(subscription, statusChange); }