### Question:
AggregationDuty implements Duty { @Override public String getProducedType() { return "aggregate"; } AggregationDuty(
      final UInt64 slot,
      final ValidatorApiChannel validatorApiChannel,
      final ForkProvider forkProvider,
      final ValidatorLogger validatorLogger); void addValidator(
      final Validator validator,
      final int validatorIndex,
      final BLSSignature proof,
      final int attestationCommitteeIndex,
      final SafeFuture<Optional<Attestation>> unsignedAttestationFuture); @Override SafeFuture<DutyResult> performDuty(); SafeFuture<DutyResult> aggregateCommittee(final CommitteeAggregator aggregator); CompletionStage<Optional<Attestation>> createAggregate(
      final Optional<Attestation> maybeAttestation); @Override String getProducedType();  }### Answer:
@Test public void shouldReturnCorrectProducedType() { assertThat(duty.getProducedType()).isEqualTo("aggregate"); }