void () { myFixture.configureByText("pom.xml", """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>simpleMaven</groupId> <artifactId>simpleMaven</artifactId> <version>1.0</version> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changelog-plugin</artifactId> <configuration> <goal><caret></goal> </configuration> </plugin> </plugins> </build> </project> """); myFixture.completeBasic(); assertContainsElements(myFixture.getLookupElementStrings(), "clean", "compile", "package"); }