### Question:
ScriptExecutionDetails { public List<ScriptExecutionWarning> getWarnings() { return warnings; } ScriptExecutionDetails(final Set<String> executedScripts, final List<ScriptExecutionWarning> warnings); @Override boolean equals(final Object obj); Set<String> getExecutedScripts(); List<ScriptExecutionWarning> getWarnings(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetWarnings() { assertThat(details.getWarnings()).isEqualTo(warnings); }