Package ninja.utils
Class CookieEncryptionTest
- java.lang.Object
-
- ninja.utils.CookieEncryptionTest
-
public class CookieEncryptionTest extends Object
-
-
Constructor Summary
Constructors Constructor Description CookieEncryptionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testThatEncryptionAndDecryptionWorksWhenEnabled()
void
testThatEncryptionDoesNotDoAnythingWhenDisabled()
void
testThatEncryptionFailsWhenSecretEmpty()
void
testThatEncryptionFailsWhenSecretTooSmall()
-
-
-
Method Detail
-
testThatEncryptionAndDecryptionWorksWhenEnabled
public void testThatEncryptionAndDecryptionWorksWhenEnabled()
-
testThatEncryptionDoesNotDoAnythingWhenDisabled
public void testThatEncryptionDoesNotDoAnythingWhenDisabled()
-
testThatEncryptionFailsWhenSecretEmpty
public void testThatEncryptionFailsWhenSecretEmpty()
-
testThatEncryptionFailsWhenSecretTooSmall
public void testThatEncryptionFailsWhenSecretTooSmall()
-
-