ValidActivationSpec vas=(ValidActivationSpec)as;
ValidMessageEndpoint me = new ValidMessageEndpoint();
ValidMessageEndpointFactory mef = new ValidMessageEndpointFactory(me);
endpoint.activate(mef, vas);
endpoint.deactivate(mef, vas);
}
@Test
public void testMetadataConfiguration() throws Throwable {