public ObjectContainer()
 {
     _fakeAppendToFile = new FakeAppendToFile();
     _persistToFile = new PersistCommandsHandler(_fakeAppendToFile);
     handlers = new CommandHandler[] {
         new RepositoryCommandHandler(_repository).Handle,
         _persistToFile.Handle
     };
 }
 public ObjectContainer()
 {
     _fakeAppendToFile = new FakeAppendToFile();
     _persistToFile    = new PersistCommandsHandler(_fakeAppendToFile);
     handlers          = new ICommandHandler[] {
         new RepositoryCommandHandler(_repository),
         _persistToFile
     };
 }