@Test
public void testValidateAndTrimSecurityRoleFunctionCreateRequestMissingSecurityRoleFunctionCreateRequest()
{

    // Specify the expected exception.
    expectedException.expect(IllegalArgumentException.class);
    expectedException.expectMessage("A security role to function mapping create request must be specified.");
    // Call the method under test.
    securityRoleFunctionHelper.validateAndTrimSecurityRoleFunctionCreateRequest(null);
    // Verify the external calls.
    verifyNoMoreInteractions(alternateKeyHelper);
}