
import { IDomainEvent } from "../../../DomainEventInterface";
import { UniqueEntityID } from "../../../../entities/UniqueEntityID";

export class MockJobCreatedEvent implements IDomainEvent {
  occurredOn: Date;
  id: UniqueEntityID;

  constructor (id: UniqueEntityID) {
    this.id = id;
    this.occurredOn = new Date();
  }

  getAggregateId (): UniqueEntityID {
    return this.id;
  }
}