@Test
public void testGetSecurityRoleEntity()
{

    // Create a security role entity.
    SecurityRoleEntity securityRoleEntity = new SecurityRoleEntity();
    // Mock the external calls.
    when(securityRoleDao.getSecurityRoleByName(SECURITY_ROLE)).thenReturn(securityRoleEntity);
    // Call the method under test.
    SecurityRoleEntity result = securityRoleDaoHelper.getSecurityRoleEntity(SECURITY_ROLE);
    // Validate the results.
    assertEquals(securityRoleEntity, result);
    // Verify the external calls.
    verify(securityRoleDao).getSecurityRoleByName(SECURITY_ROLE);
    verifyNoMoreInteractionsHelper();
}