code: def setUp(self):
      self.resumed_expected = [True] + [False] * 6
      self.resumed_finished = [False] + [True] * 6
      if self.call_on_resume:
          self.resumed_expected[self.resume] = True
          self.resumed_finished[self.resume] = False
  
file_path: chainer/tests/chainer_tests/training_tests/triggers_tests/test_once_trigger.py
imports: from __future__ import division
  import random
  import tempfile
  import unittest
  import numpy
  from chainer import serializers
  from chainer import testing
  from chainer.testing import condition
  from chainer import training
label_desc: Use image node_id 1 for calling the TestOnceTrigger obj's underlying member method code with example usage: obj.setUp() without return types