Skip to content

Commit

Permalink
Restore a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jubianchi committed Jan 14, 2016
1 parent b278efc commit 9308ab5
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tests/units/Adapter/FileAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ public function getPath()

class FileAdapter extends atoum\test
{
public function testFileAdapterClass()
{
$this->testedClass->implements('\ReputationVIP\QueueClient\Adapter\AdapterInterface');
}

public function testFileAdapter__construct()
{
$this->object($this->newTestedInstance('/tmp/test/'));
}

public function testFileAdapter__constructWithFilesystemError(Filesystem $fs, Finder $finder, LockHandlerFactory $lockHandlerFactory)
{
$this->exception(function () use($fs, $finder, $lockHandlerFactory) {
Expand All @@ -34,11 +44,6 @@ public function testFileAdapter__constructWithFilesystemError(Filesystem $fs, Fi
});
}

public function testFileAdapterClass()
{
$this->testedClass->implements('\ReputationVIP\QueueClient\Adapter\AdapterInterface');
}

public function testFileAdapterDeleteQueue()
{
$mockFs = new \mock\Symfony\Component\Filesystem\Filesystem;
Expand Down

0 comments on commit 9308ab5

Please sign in to comment.