public void Init()
 {
     Clock.Freeze();
     _now         = Clock.UnixUtcNow;
     _tasks       = new Tasks(new InMemoryEntityStore <TaskRecord>());
     _users       = new Users(new InMemoryEntityStore <UserRecord>());
     _settings    = new AssignmentSettings();
     _assignments = new TaskAssignments(new InMemoryEventStore(), _tasks, _users, _settings);
 }
 public SampleTaskAssignments(Tasks tasks, Users users)
 {
     Assignments = new TaskAssignments(new InMemoryEventStore(), tasks, users, new AssignmentSettings());
 }