public function testError()
{
Admin_Apple_Notice::error('This is an error message', $this->user_id);
ob_start();
Admin_Apple_Notice::show();
$notice = ob_get_contents();
ob_end_clean();
$expected = preg_replace('/\\s+/', '', '<div class="notice error is-dismissible"><p><strong>This is an error message' . Apple_News::get_support_info() . '</strong></p></div>');
$notice = preg_replace('/\\s+/', '', $notice);
$this->assertEquals($expected, $notice);
}