pragma solidity ^0.5.12; import "./Marketplace.sol"; contract TestMarket is MarketPlace { constructor(address _contractAddress) MarketPlace(_contractAddress) public{} function getOfferFromMapping(uint256 id) public view returns( address seller, uint256 price, uint256 index, uint256 tokenId, bool active) { return (tokenIdToOffer[id].seller, tokenIdToOffer[id].price, tokenIdToOffer[id].index, tokenIdToOffer[id].tokenId, tokenIdToOffer[id].active); } function getOfferFromArray(uint256 id) public view returns( address seller, uint256 price, uint256 index, uint256 tokenId, bool active) { return (offers[id].seller, offers[id].price, offers[id].index, offers[id].tokenId, offers[id].active); } function getBalanceOfMapping(address caller) public view returns(uint256 amount) { return _fundsToBeCollected[caller]; } function testSetBalance(uint256 amount) public payable { _fundsToBeCollected[msg.sender] = amount; } function testSetPause() public onlyOwner { _paused = true; } }