public AuctionController( ICreateAuctionFlow createAuctionFlow, IUpdateAuctionFlow updateAuctionFlow, IGetAllAuctionFlow getAllAuctionFlow, IGetByIdAuctionFlow getByIdAuctionFlow, IDeleteAuctionFlow deleteAuctionFlow ) { _createAuctionFlow = createAuctionFlow; _updateAuctionFlow = updateAuctionFlow; _getAllAuctionFlow = getAllAuctionFlow; _getByIdAuctionFlow = getByIdAuctionFlow; _deleteAuctionFlow = deleteAuctionFlow; }
public CreateAuctionFlowTest() { _createActionUseCase = new Mock <ICreateAuctionUseCase>(); this._createAuctionFlow = new CreateAuctionFlow(_createActionUseCase.Object); }