[TASK] Change $fixture to $subject in unit-tests
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Tests / Unit / Filter / TitleCaseFilterTest.php
index 2e57f1e..a5f6d71 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 namespace TYPO3\CMS\Form\Tests\Unit\Filter;
 
-/**
+/*
  * This file is part of the TYPO3 CMS project.
  *
  * It is free software; you can redistribute it and/or modify it under
@@ -13,6 +13,7 @@ namespace TYPO3\CMS\Form\Tests\Unit\Filter;
  *
  * The TYPO3 project - inspiring people to share!
  */
+
 use TYPO3\CMS\Core\Charset\CharsetConverter;
 use TYPO3\CMS\Form\Filter\TitleCaseFilter;
 
@@ -26,13 +27,13 @@ class TitleCaseFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @var TitleCaseFilter
         */
-       protected $fixture = NULL;
+       protected $subject = NULL;
 
        /**
         * Set up
         */
-       public function setUp() {
-               $this->fixture = new TitleCaseFilter();
+       protected function setUp() {
+               $this->subject = new TitleCaseFilter();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->csConvObj = new CharsetConverter();
                $GLOBALS['TSFE']->renderCharset = 'utf-8';
@@ -57,7 +58,8 @@ class TitleCaseFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        public function filterForStringReturnsStringWithUppercasedWords($input, $expected) {
                $this->assertSame(
                        $expected,
-                       $this->fixture->filter($input)
+                       $this->subject->filter($input)
                );
        }
+
 }