HelloWorld { public String sayHello(){ return "Hello Maven"; }  String sayHello(); static void main(String args[]);  }
@Test public void testSayHello(){ HelloWorld helloWorld = new HelloWorld(); String result = helloWorld.sayHello(); assertEquals("Hello Maven", result); }