### Question:
ScriptDocGenerator extends AbstractSourceDocumentationGenerator<CclScript> { @Override protected String getObjectName() { return getObject().getName(); } ScriptDocGenerator(final CclScript cclScript, final File cssDirectory, final ScriptExecutionDetails details,
            final Writer writer, final Navigation backNavigation);   }### Answer:
@Test public void testGetObjectName() { final String objectName = "object_name"; when(script.getName()).thenReturn(objectName); assertThat(generator.getObjectName()).isEqualTo(objectName); }