private static void ConnectCommand(ICommand command, DocumentCommandHandler handler) { CommandHandlerList.Global.Connect(command, handler); }
public void Setup() { repository = new MockDocumentRepository(); dataStore = new InMemoryDataStore(); sut = new DocumentCommandHandler(repository, dataStore); }