### Question:
ScriptExecutionWarning { public int getLineNumber() { return lineNumber; } ScriptExecutionWarning(final int lineNumber, final String sourceCode); @Override boolean equals(final Object obj); int getLineNumber(); String getSourceCode(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetLineNumber() { assertThat(warning.getLineNumber()).isEqualTo(lineNumber); }