{"size": 587, "ext": "js", "max_stars_repo_path": "test/lifecycle/FinalizableMockFactory.test.js", "max_stars_repo_name": "krebernisak/eth-todo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/lifecycle/FinalizableMockFactory.test.js", "max_issues_repo_name": "krebernisak/eth-todo", "max_issues_repo_issues_event_min_datetime": "2021-09-02T03:11:48.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T20:49:59.000Z", "max_forks_repo_path": "test/lifecycle/FinalizableMockFactory.test.js", "max_forks_repo_name": "krebernisak/eth-todo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 32.6111111111, "max_line_length": 75, "alphanum_fraction": 0.7461669506}
const { shouldBehaveLikeFactory } = require("./Factory.behaviour");
const {
  shouldBehaveLikeFactoryEnumerable
} = require("./FactoryEnumerable.behaviour");

const FinalizableMockFactory = artifacts.require("FinalizableMockFactory");

contract("FinalizableMockFactory", function(accounts) {
  beforeEach(async function() {
    const [_, alice] = accounts;
    this.contract = await FinalizableMockFactory.new({ from: alice });
    this.createFn = acc => this.contract.create({ from: acc });
  });

  shouldBehaveLikeFactory(accounts);
  shouldBehaveLikeFactoryEnumerable(accounts);
});
