コード例 #1
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->loadFixture('Test\\Fixtures\\User\\NewUser', 'Domain\\Entities\\User');
     $this->user = $this->fixture->getAsUser();
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->loadFixture('Test\\Fixtures\\Post\\NewPost', 'Domain\\Entities\\Post');
     $this->post = $this->fixture->getAsPost();
 }
コード例 #3
0
 public function setUp()
 {
     parent::setUp();
     $this->fixture = $this->loadFixture('Test\\Fixtures\\Comment\\NewComment', 'Domain\\Entities\\Comment');
     $this->comment = $this->fixture->getAsComment();
 }