UpDownTest::setUp()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Copyright (c) 2019 - present
4
 * laravel-updown - UpDownTestp
5
 * author: Roberto Belotti - [email protected]
6
 * web : robertobelotti.com, github.com/biscolab
7
 * Initial version created on: 15/2/2019
8
 * MIT license: https://github.com/biscolab/laravel-updown/blob/master/LICENSE
9
 */
10
11
namespace Biscolab\LaravelUpDown\Tests;
12
13
use Biscolab\LaravelUpDown\UpDownBuilder;
14
15
/**
16
 * Class UpDownTest
17
 * @package Biscolab\LaravelUpDown\Tests
18
 */
19
class UpDownTest extends TestCase
20
{
21
22
    /**
23
     * @test
24
     */
25
    public function testGetUpDownHelperReturnsUpDownBuilder()
26
    {
27
28
        $this->assertInstanceOf(UpDownBuilder::class, updown());
29
    }
30
31
    /**
32
     * @test
33
     */
34
    public function testGetUpDownApiKey()
35
    {
36
37
        $this->assertEquals(updown()->getUpDown()->getKey(), env('API_KEY', 'API_KEY'));
38
    }
39
40
    /**
41
     * @return void
42
     */
43
    public function setUp(): void
44
    {
45
46
        parent::setUp(); // TODO: Change the autogenerated stub
47
48
    }
49
}