public void Wallet_WithValidData_ShouldAddNewStock() { var companyId = Guid.NewGuid(); var orderId = Guid.NewGuid(); var stockName = _fixture.Create <string>(); var stockCode = _fixture.Create <string>(); var unit = _fixture.Create <int>(); var quantity = _fixture.Create <int>(); _wallet.AddStock(orderId, companyId, stockName, stockCode, unit, quantity); Assert.NotNull(_wallet.StockList); Assert.Single(_wallet.StockList); AssertProducedEvent <StockToWalletAddedEvent>(_wallet); }