### Question:
ScriptExecutionBuilder { public static ScriptExecutionBuilder getBuilder(final String scriptName) { if (scriptName == null) throw new NullPointerException("Script name cannot be null."); if (scriptName.trim().length() == 0) throw new IllegalArgumentException("Script name cannot be blank."); return new ScriptExecutionBuilder(scriptName); } private  ScriptExecutionBuilder(final String scriptName); static ScriptExecutionBuilder getBuilder(final String scriptName); void addWithReplace(final String recordName, final Record record); Collection<String> build(); String getScriptName(); ScriptExecutionBuilder withArguments(final List<Argument> arguments);  }### Answer:
@Test public void testGetBuilder() { final ScriptExecutionBuilder builder = ScriptExecutionBuilder.getBuilder(SCRIPT_NAME); assertThat(builder.getScriptName()).isEqualTo(SCRIPT_NAME); }
@Test public void testGetBuilderNullScriptName() { NullPointerException e = assertThrows(NullPointerException.class, () -> { ScriptExecutionBuilder.getBuilder(null); }); assertThat(e.getMessage()).isEqualTo("Script name cannot be null."); }
@Test public void testGetBuilderBlankScriptName() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { ScriptExecutionBuilder.getBuilder(" "); }); assertThat(e.getMessage()).isEqualTo("Script name cannot be blank."); }