public void when(CommitTo aCommand) { this.sprint = aCommand.sprint(); ActorAgent sprint = this.registry().actorRegisteredAs(Sprint.class, this.sprint); sprint.tell(new BacklogItemCommitted(this.product, this.address(), this.sprint)); }
public void when(CommitTo aCommand) { this.sprint = aCommand.sprint(); ActorAgent sprint = this.registry().actorRegisteredAs(Sprint.class, this.sprint); sprint.tell(new BacklogItemCommitted(this.product, this.address(), this.sprint)); }