コード例 #1
0
ファイル: InfoTest.php プロジェクト: andrewhowdencom/m2onk8s
 public function testGetSubscriptionObject()
 {
     $object = $this->_block->getSubscriptionObject();
     $this->assertInstanceOf('Magento\\Newsletter\\Model\\Subscriber', $object);
     $object2 = $this->_block->getSubscriptionObject();
     $this->assertSame($object, $object2);
 }
コード例 #2
0
ファイル: InfoTest.php プロジェクト: pradeep-wagento/magento2
 public function testGetSubscriptionObject()
 {
     $this->assertSame($this->_subscriber, $this->_block->getSubscriptionObject());
 }