[BUGFIX] Fix several typos in php comments
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Tests / Unit / Template / Components / Button / FullyRenderedButtonTest.php
index 1309cab..770e3e5 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-namespace TYPO3\CMS\Backend\Tests\Template\Components\Buttons;
+namespace TYPO3\CMS\Backend\Tests\Unit\Template\Components\Button;
 
 /*
  * This file is part of the TYPO3 CMS project.
@@ -15,36 +15,35 @@ namespace TYPO3\CMS\Backend\Tests\Template\Components\Buttons;
  */
 
 use TYPO3\CMS\Backend\Template\Components\Buttons\FullyRenderedButton;
-use TYPO3\CMS\Core\Tests\UnitTestCase;
+use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 
 /**
  * Test case for FullyRenderedButton
  */
-class FullyRenderedButtonTest extends UnitTestCase {
-
-       /**
-        * Try to valide an empty button
-        *
-        * @test
-        * @return void
-        */
-       public function isButtonValidBlankCallExpectFalse() {
-               $button = new FullyRenderedButton();
-               $isValid = $button->isValid();
-               $this->assertFalse($isValid);
-       }
-
-       /**
-        * Tests a valid HTML Button
-        *
-        * @test
-        * @return void
-        */
-       public function isButtonValidHtmlSourceGivenExpectTrue() {
-               $button = new FullyRenderedButton();
-               $button->setHtmlSource('<span>Husel</span>');
-               $isValid = $button->isValid();
-               $this->assertTrue($isValid);
-       }
+class FullyRenderedButtonTest extends UnitTestCase
+{
+    /**
+     * Try to validate an empty button
+     *
+     * @test
+     */
+    public function isButtonValidBlankCallExpectFalse()
+    {
+        $button = new FullyRenderedButton();
+        $isValid = $button->isValid();
+        $this->assertFalse($isValid);
+    }
 
+    /**
+     * Tests a valid HTML Button
+     *
+     * @test
+     */
+    public function isButtonValidHtmlSourceGivenExpectTrue()
+    {
+        $button = new FullyRenderedButton();
+        $button->setHtmlSource('<span>Husel</span>');
+        $isValid = $button->isValid();
+        $this->assertTrue($isValid);
+    }
 }