aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-23 12:54:28 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-09-23 12:54:28 +0200
commita7c4b2fe44a9acf26c86b5f830acfc2e97c7ee82 (patch)
tree98d2d13729d392b43d3aaad69602612ca8d25d97
parent048ba51d0688e532c0303d02021c898343403660 (diff)
downloadMime-a7c4b2fe44a9acf26c86b5f830acfc2e97c7ee82.zip
Mime-a7c4b2fe44a9acf26c86b5f830acfc2e97c7ee82.tar.gz
Mime-a7c4b2fe44a9acf26c86b5f830acfc2e97c7ee82.tar.bz2
Simplify aliases.
-rw-r--r--Test/Unit/Documentation.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/Unit/Documentation.php b/Test/Unit/Documentation.php
index 2ff20e3..5f865cd 100644
--- a/Test/Unit/Documentation.php
+++ b/Test/Unit/Documentation.php
@@ -37,8 +37,8 @@
namespace Hoa\Mime\Test\Unit;
use Hoa\Test;
-use Hoa\Mime as HMime;
-use Hoa\File as HFile;
+use Hoa\Mime as LUT;
+use Hoa\File;
/**
* Class \Hoa\Mime\Test\Unit\Documentation.
@@ -56,7 +56,7 @@ class Documentation extends Test\Unit\Suite {
$this
->given($mime = 'text/html')
- ->when($extensions = HMime::getExtensionsFromMime($mime))
+ ->when($extensions = LUT::getExtensionsFromMime($mime))
->then
->array($extensions)
->isEqualTo([
@@ -69,7 +69,7 @@ class Documentation extends Test\Unit\Suite {
$this
->given($extension = 'webm')
- ->when($mime = HMime::getMimeFromExtension($extension))
+ ->when($mime = LUT::getMimeFromExtension($extension))
->then
->string($mime)
->isEqualTo('video/webm');
@@ -79,7 +79,7 @@ class Documentation extends Test\Unit\Suite {
$this
->given($file = 'hoa://Test/Vfs/index.html')
- ->when($type = new HMime(new HFile\Read($file)))
+ ->when($type = new LUT(new File\Read($file)))
->then
->string($type->getExtension())
->isEqualTo('html')