all files / tests/mocks/ sends-to-self-on-construct.sol

0% Statements 0/3
100% Branches 0/0
0% Functions 0/1
0% Lines 0/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
 
import "../../contracts/mocks/nf-token-mock.sol";
import "./nf-token-receiver-test-mock.sol";
 
contract SendsToSelfOnConstruct is
  NFTokenReceiverTestMock
{
  uint constant TOKEN_ID = 1;
 
  constructor()
  {
    NFTokenMock tokens = new NFTokenMock();
    tokens.mint(address(this), TOKEN_ID);
    tokens.safeTransferFrom(address(this), address(this), TOKEN_ID);
  }
 
}