### Question:
JobEntryJobDialog extends JobEntryBaseDialog implements JobEntryDialogInterface { String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; } JobEntryJobDialog( Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta ); JobEntryInterface open(); void dispose(); void setActive(); void getData(); void ok();  }### Answer:
@Test public void testEntryName() { dialog = mock( JobEntryJobDialog.class ); doCallRealMethod().when( dialog ).getEntryName( any() ); assertEquals( dialog.getEntryName( FILE_NAME ), "${Internal.Entry.Current.Directory}/" + FILE_NAME ); }