Test Failed
Branch main (0ffd95)
by
unknown
01:57
created

ElasticEmailTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A has_access_to_email_send() 0 8 1
1
<?php
2
3
namespace Tests\Unit;
4
5
use ElasticEmail\ElasticEmail;
6
use ElasticEmail\Email\Email;
7
8
class ElasticEmailTest extends UnitTestCase
9
{
10
    /** @test */
11
    public function has_access_to_email_send()
12
    {
13
        $elasticEmail = new ElasticEmail('api-key');
14
15
        $emailObject = $elasticEmail->email();
16
17
        $this->assertInstanceOf(Email::class, $emailObject);
18
    }
19
20
}
21