Browse Source

Change scope of getGetterName and getSetterName methods

1.0
Jakub Turek 10 years ago
parent
commit
c690ea3efe
  1. 4
      tests/MageTest/TestHelper/BaseTest.php

4
tests/MageTest/TestHelper/BaseTest.php

@ -105,7 +105,7 @@ abstract class BaseTest extends \PHPUnit_Framework_TestCase
* @param string $propertyName Property name * @param string $propertyName Property name
* @return string Getter method name * @return string Getter method name
*/ */
final protected function getGetterName($propertyName) private function getGetterName($propertyName)
{ {
return 'get' . ucfirst($propertyName); return 'get' . ucfirst($propertyName);
} }
@ -116,7 +116,7 @@ abstract class BaseTest extends \PHPUnit_Framework_TestCase
* @param string $propertyName Property name * @param string $propertyName Property name
* @return string Getter method name * @return string Getter method name
*/ */
final protected function getSetterName($propertyName) private function getSetterName($propertyName)
{ {
return 'set' . ucfirst($propertyName); return 'set' . ucfirst($propertyName);
} }

Loading…
Cancel
Save