PHP Classes

File: tests/Transformation/LowercaseTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   Cipher Sweet   tests/Transformation/LowercaseTest.php   Download  
File: tests/Transformation/LowercaseTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Cipher Sweet
Encrypt data in away that can be searched
Author: By
Last change:
Date: 5 years ago
Size: 731 bytes
 

Contents

Class file image Download
<?php
namespace ParagonIE\CipherSweet\Tests\Transformation;

use
ParagonIE\CipherSweet\Contract\TransformationInterface;
use
ParagonIE\CipherSweet\Transformation\Lowercase;

/**
 * Class LowercaseTest
 * @package ParagonIE\CipherSweet\Tests\Transformation
 */
class LowercaseTest extends GenericTransfomationCase
{
   
/**
     * @return TransformationInterface
     */
   
protected function getTransformation()
    {
        return new
Lowercase();
    }

   
/**
     * @return array<int, array<int, string>>
     */
   
protected function getTestCases()
    {
        return [
            [
'APPLE', 'apple'],
            [
"This is a Test String with whitespace\n", "this is a test string with whitespace\n"]
        ];
    }
}