    @Test
    public void buildSourceCodeWithoutImportsAndWithoutWrapInMain() throws IOException {

        final CodeSnippet snippet = new CodeSnippet();
        snippet.getProperties().put(CLASS_NAME_PROPERTY, "TestScala");

        snippet.setCode("def main(args: Array[String]) {\n\tprintln(\"Hello\")\n}");

        final String expected = IOUtils.read(ScalaSnippetExecutorTest.class.getResourceAsStream("/com/twasyl/slideshowfx/snippet/executor/scala/buildSourceCodeWithoutImportsAndWithoutWrapInMain_expected.txt"));
        assertEquals(expected, snippetExecutor.buildSourceCode(snippet));
    }