def test_server_counter_with_malcolm_client(self):
     block2 = ClientController('counter', self.process2).block
     task = Task("task", self.process2)
     futures = task.when_matches(block2["state"], "Ready")
     task.wait_all(futures, timeout=1)
     self.assertEqual(block2.counter, 0)
     block2.increment()
     self.assertEqual(block2.counter, 1)