@Test
void fires() throws Exception {

    final OAuth a = mock(OAuth.class);
    final Zonky z = harmlessZonky();
    final ApiProvider api = mockApiProvider(a, z);
    try (final PowerTenant tenant = new TenantBuilder().withApi(api)
        .withSecrets(SECRETS)
        .build(false)) {
        tenant.fire(roboZonkyDaemonSuspended(new IllegalStateException()))
            .join();
    }
    assertThat(this.getEventsRequested())
        .hasSize(1)
        .first()
        .isInstanceOf(RoboZonkyDaemonSuspendedEvent.class);
}