### Question:
AbstractAMQPProcessor extends AbstractProcessor { @Override public void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException { synchronized (this) { this.buildTargetResource(context); } this.rendezvousWithAmqp(context, session); }  @Override void onTrigger(ProcessContext context, ProcessSession session); @OnStopped void close(); static final PropertyDescriptor HOST; static final PropertyDescriptor PORT; static final PropertyDescriptor V_HOST; static final PropertyDescriptor USER; static final PropertyDescriptor PASSWORD; static final PropertyDescriptor AMQP_VERSION; static final PropertyDescriptor SSL_CONTEXT_SERVICE; static final PropertyDescriptor CLIENT_AUTH; }### Answer:
@Test(expected = ProviderCreationException.class) public void testConnectToCassandraWithSSLBadClientAuth() throws Exception { SSLContextService sslService = mock(SSLContextService.class); when(sslService.getIdentifier()).thenReturn("ssl-context"); testRunner.addControllerService("ssl-context", sslService); testRunner.enableControllerService(sslService); testRunner.setProperty(AbstractAMQPProcessor.SSL_CONTEXT_SERVICE, "ssl-context"); testRunner.setProperty(AbstractAMQPProcessor.HOST, "test"); testRunner.setProperty(AbstractAMQPProcessor.PORT, "9999"); testRunner.setProperty(AbstractAMQPProcessor.USER, "test"); testRunner.setProperty(AbstractAMQPProcessor.PASSWORD, "test"); testRunner.assertValid(sslService); testRunner.setProperty(AbstractAMQPProcessor.CLIENT_AUTH, "BAD"); processor.onTrigger(testRunner.getProcessContext(), testRunner.getProcessSessionFactory()); }