hostCoveredByCertificate() public method

public hostCoveredByCertificate ( $host, $certificateHost, array $certificateAdditionalDomains = [] )
$certificateAdditionalDomains array
 /** @test */
 public function it_can_verify_a_wildcard_domain()
 {
     $sslCertificateMonitor = new SSLCertificateMonitor(['url' => 'https://lumen.laravel.com/']);
     $sslCertificateMonitor->runMonitor();
     $this->assertEquals('*.laravel.com', $sslCertificateMonitor->getCertificateDomain());
     $this->assertTrue($sslCertificateMonitor->hostCoveredByCertificate('lumen.laravel.com', $sslCertificateMonitor->getCertificateDomain()));
 }
 /** @test */
 public function it_can_determine_a_host_is_covered_by_additional_certificate_domains()
 {
     $monitor = new SSLCertificateMonitor(['url' => 'https://www.example.com/']);
     $this->assertTrue($monitor->hostCoveredByCertificate('www.example.com', 'www.example.org', ['www.example.com', 'www.example.net']));
 }