Skip to content

Commit

Permalink
coverage tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Redjik committed Sep 21, 2015
1 parent 2980a67 commit 1f1f725
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions api/tests/GuardTest.php
@@ -1,6 +1,32 @@
<?php

use Spira\Auth\Driver\Guard;
use Spira\Contract\Exception\NotImplementedException;

class GuardTest extends TestCase
{
public function testNotImplemented()
{
$guard = $this->getGuard();
$this->setExpectedException(NotImplementedException::class, 'Not Implemented.');
$guard->basic();

$this->setExpectedException(NotImplementedException::class, 'Not Implemented.');
$guard->onceBasic();

$this->setExpectedException(NotImplementedException::class, 'Not Implemented.');
$guard->validate();

$this->setExpectedException(NotImplementedException::class, 'Not Implemented.');
$guard->viaRemember();

}

/**
* @return Guard
*/
protected function getGuard()
{
return $this->app[Guard::class];
}
}

0 comments on commit 1f1f725

Please sign in to comment.