Completed
Pull Request — master (#438)
by Albin
05:53
created

GCSSpec::let()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace spec\Gaufrette\Adapter\GCS;
4
5
use PhpSpec\ObjectBehavior;
6
7
class GCSSpec extends ObjectBehavior
8
{
9
    public function let(\Google_Service_Storage $service)
10
    {
11
        $this->beConstructedWith($service, 'bucketName');
12
    }
13
14
    public function it_is_adapter()
15
    {
16
        $this->shouldHaveType('Gaufrette\Adapter');
17
    }
18
19
    public function it_supports_metadata()
20
    {
21
        $this->shouldHaveType('Gaufrette\Adapter\MetadataSupporter');
22
    }
23
24
    public function it_is_list_keys_aware()
25
    {
26
        $this->shouldHaveType('Gaufrette\Adapter\ListKeysAware');
27
    }
28
}
29