@Test
public void testValidateAndTrimSecurityFunctionKeyMissingSecurityFunctionKey()
{

    // Specify the expected exception.
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("A security function key must be specified.");
    // Call the method under test.
    securityFunctionHelper.validateAndTrimSecurityFunctionKey(null);
    // Verify the external calls.
    verifyNoMoreInteractions(alternateKeyHelper);
}