@Test public void testGet() throws MojoExecutionException { List<File> modules = Arrays.asList(new File("file1.erl", "file2.beam")); String attribute = "attribute"; GetAttributesScript script = new GetAttributesScript(modules, attribute); String expression = script.get(); assertNotNull(expression); assertFalse(expression.isEmpty()); assertFalse(expression.contains("%s")); }