public function testSpaceToUnderscoreStringToUpper() { $result = Factory::spaceToUnderscore(parent::STRING_SPACE, 'strtoupper'); $this->assertSame('PHP_EOL', $result); }
public function testClassNameToSpaceStringToLower() { $result = Factory::classNameToSpace(parent::STRING_CLASS_NAME, 'strtolower'); $this->assertSame('php eol', $result); }
public function testUnderscoreToSpaceStringToUpper() { $result = Factory::underscoreToSpace(parent::STRING_UNDERSCORE, 'strtoupper'); $this->assertSame('PHP EOL', $result); }
public function testHyphenToSpaceStringToUpper() { $result = Factory::hyphenToSpace(ucfirst(parent::STRING_HYPHEN), 'strtoupper'); $this->assertSame('PHP EOL', $result); }
public function testConstantToSpaceStringToLower() { $result = Factory::constantToSpace(parent::STRING_CONSTANT, 'strtolower'); $this->assertSame('php eol', $result); }
public function testCamelToSpaceStringToLower() { $result = Factory::camelToSpace(parent::STRING_CAMEL, 'strtolower'); $this->assertSame('php eol', $result); }