Completed
Pull Request — master (#435)
by Albin
09:27
created

S3Spec::it_supports_sizecalculator()   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 0
1
<?php
2
3
namespace spec\Gaufrette\Adapter\Aws;
4
5
use PhpSpec\ObjectBehavior;
6
use Prophecy\Argument;
7
8
class S3Spec extends ObjectBehavior
9
{
10
    function let(\Aws\S3\S3Client $service)
11
    {
12
        $this->beConstructedWith($service, 'bucketName');
13
    }
14
15
    function it_is_initializable()
16
    {
17
        $this->shouldHaveType('Gaufrette\Adapter\Aws\S3');
18
    }
19
20
    function it_is_adapter()
21
    {
22
        $this->shouldHaveType('Gaufrette\Adapter');
23
    }
24
25
    function it_supports_metadata()
26
    {
27
        $this->shouldHaveType('Gaufrette\Adapter\MetadataSupporter');
28
    }
29
30
    function it_supports_sizecalculator()
31
    {
32
        $this->shouldHaveType('Gaufrette\Adapter\SizeCalculator');
33
    }
34
}
35