public AtualizarCategoriaCommandHandlerTests(AtualizarCategoriaCommandTestsFixture atualizarCategoriaCommandTestsFixture) { _atualizarCategoriaCommandTestsFixture = atualizarCategoriaCommandTestsFixture; _mocker = new AutoMocker(); _categoriaTestsFixture = _mocker.CreateInstance <CategoriaTestsFixture>(); _adicionarCategoriaCommandTestsFixture = _mocker.CreateInstance <AdicionarCategoriaCommandTestsFixture>(); _atualizarCategoriaCommandHandler = _mocker.CreateInstance <AtualizarCategoriaCommandHandler>(); _adicionarCategoriaCommandHandler = _mocker.CreateInstance <AdicionarCategoriaCommandHandler>(); }
public AdicionarCategoriaCommandHandlerTests(AdicionarCategoriaCommandTestsFixture adicionarCategoriaCommandTestsFixture) { _adicionarCategoriaCommandTestsFixture = adicionarCategoriaCommandTestsFixture; _mocker = new AutoMocker(); _adicionarCategoriaCommandHandler = _mocker.CreateInstance <AdicionarCategoriaCommandHandler>(); }