### Question:
ActionObserverCameraFollowPlayer implements Sc2ApiSerializable<Sc2Api.ActionObserverCameraFollowPlayer> { public static ActionObserverCameraFollowPlayerSyntax cameraFollowPlayer() { return new ActionObserverCameraFollowPlayer.Builder(); } private  ActionObserverCameraFollowPlayer(ActionObserverCameraFollowPlayer.Builder builder); static ActionObserverCameraFollowPlayerSyntax cameraFollowPlayer(); @Override Sc2Api.ActionObserverCameraFollowPlayer toSc2Api(); int getPlayerId(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void throwsExceptionWhenPlayerIdIsNotSet() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> ((ActionObserverCameraFollowPlayer.Builder) cameraFollowPlayer()).build()) .withMessage("player id is required"); }