@Test
public void testGetConfigurationEntry()
{

    // Create a configuration entry key and value and value clob.
    String configurationEntryKey = "KEY";
    String configurationEntryValue = "VALUE";
    String configurationEntryValueClob = "VALUE CLOB";
    // Create a configuration entry get response.
    ConfigurationEntry configurationEntry = new ConfigurationEntry(configurationEntryKey, configurationEntryValue, configurationEntryValueClob);
    // Mock the call to the configuration entry service.
    when(configurationEntryService.getConfigurationEntry(configurationEntryKey)).thenReturn(configurationEntry);
    // Get a configuration entry.
    ConfigurationEntry response = configurationEntryRestController.getConfigurationEntry(configurationEntryKey);
    // Verify the call.
    verify(configurationEntryService).getConfigurationEntry(configurationEntryKey);
    // Validate the returned object.
    assertEquals("Response not equal to expected configuration entry response.", configurationEntry, response);
}