### Question:
GraphQLIntrospectionFileGeneratorMojo extends AbstractMojo { @Override public void execute() { generator.generate(sourceSdlResource, targetIntrospectionFile); } GraphQLIntrospectionFileGeneratorMojo(); @Override void execute();  }### Answer:
@Test public void test() { underTest.setSourceSdlResource("sourceSdlResource"); underTest.setTargetIntrospectionFile("targetIntrospectionFile"); underTest.execute(); verify(generator).generate("sourceSdlResource", "targetIntrospectionFile"); }