ArtificerMavenIntegrationDemo { public void runDemo() { ObjectFactory factory = new ObjectFactory(); PersonType person = factory.createPersonType(); person.setFirstName("Charles"); person.setMiddleInitial("Francis"); person.setLastName("Xavier"); String name = person.getFirstName() + " " + person.getLastName(); System.out.println("Professor X's name is: " + name); } ArtificerMavenIntegrationDemo(); void runDemo(); static void main(String [] args);  }
@Test public void test() { ArtificerMavenIntegrationDemo demo = new ArtificerMavenIntegrationDemo(); demo.runDemo(); }