/** Startup the live activity from a group. */
  @Test
  public void groupActivityStartup() {
    activeLiveActivity.startupFromLiveActivityGroup(activeLiveActivityGroup1);

    assertActiveActivityState(
        activeLiveActivity,
        false,
        1,
        false,
        0,
        ActivityState.STARTUP_ATTEMPT,
        ActivityState.UNKNOWN);
    Mockito.verify(remoteControllerClient, Mockito.times(1)).startupActivity(activeLiveActivity);
  }
  /** Startup the live activity from two groups and shutdown from both. */
  @Test
  public void groupTwoActivityStartupAndTwoShutdown() {
    activeLiveActivity.startupFromLiveActivityGroup(activeLiveActivityGroup1);
    activeLiveActivity.startupFromLiveActivityGroup(activeLiveActivityGroup2);
    activeLiveActivity.shutdownFromLiveActivityGroup(activeLiveActivityGroup1);
    activeLiveActivity.shutdownFromLiveActivityGroup(activeLiveActivityGroup2);

    assertActiveActivityState(
        activeLiveActivity,
        false,
        0,
        false,
        0,
        ActivityState.SHUTDOWN_ATTEMPT,
        ActivityState.UNKNOWN);
    Mockito.verify(remoteControllerClient, Mockito.times(1)).shutdownActivity(activeLiveActivity);
  }