* This method tests a proper destroy method. i.e., public, no arguments and
* with void return type.
*/
@Test
public void atDestroyProper() throws Exception {
SCANodeFactory nodeFactory = SCANodeFactory.newInstance();
SCANode node = nodeFactory.createSCANode(new File("src/main/resources/proper/AService.composite").toURL().toString(),
new SCAContribution("TestContribution",
new File("src/main/resources/proper").toURL().toString()));
node.start();
AService aService = ((SCAClient)node).getService(AService.class, "AComponent");
Assert.assertEquals("Hello Pandu", aService.getGreetings("Pandu"));