### Question:
RestfulClientProvisioner implements ClientProvisioner { void takeOwnership() { tpm.takeOwnership(); }  @EventListener @SuppressFBWarnings(value = "DM_EXIT", justification = "need to exit app from spring managed class here") final void handleContextInitialized(final ContextRefreshedEvent event); @Override boolean provision();  }### Answer:
@Test public void testTakeOwnership() { provisioner.takeOwnership(); verify(mockTpm).takeOwnership(); }