Total Complexity | 2 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class BuilderSpec extends ObjectBehavior |
||
10 | { |
||
11 | public function it_is_initializable() |
||
12 | { |
||
13 | $this->shouldHaveType(Builder::class); |
||
14 | } |
||
15 | |||
16 | public function it_should_accept_user_credentials() |
||
17 | { |
||
18 | $this->withCredentials('username', 'password')->shouldReturn($this); |
||
19 | $this->withUsername('username')->shouldReturn($this); |
||
20 | $this->withPassword('password')->shouldReturn($this); |
||
21 | } |
||
23 |