sendStatusChange() публичный Метод

Send an email to the customer containing the latest note of {@link OrderStatusLog} and the current status.
public sendStatusChange ( string $title, string $note = null )
$title string Subject for email
$note string Optional note-content (instead of using the OrderStatusLog)
 public function testStatusUpdate()
 {
     $this->notifier->sendStatusChange('test subject');
     $this->assertEmailSent('*****@*****.**', '*****@*****.**', _t('ShopEmail.StatusChangeSubject') . 'test subject');
 }
 /**
  * @deprecated 2.0
  */
 public function sendStatusChange($title, $note = null)
 {
     Deprecation::notice('2.0', 'Use OrderEmailNotifier instead');
     $this->notifier->sendStatusChange($title, $note);
 }
 public function testStatusUpdate()
 {
     $this->notifier->sendStatusChange('test subject');
     $this->assertEmailSent('*****@*****.**', '*****@*****.**', 'test subject');
 }