This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 2fe6fd5 Fixed test 2fe6fd5 is described below commit 2fe6fd50d4254e8a7ccadad081a333ece4c81137 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat Jan 25 23:29:39 2020 +0100 Fixed test --- .../component/smpp/SmppProducerLazySessionCreationTest.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppProducerLazySessionCreationTest.java b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppProducerLazySessionCreationTest.java index d459a71..40afcf7 100644 --- a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppProducerLazySessionCreationTest.java +++ b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppProducerLazySessionCreationTest.java @@ -30,7 +30,6 @@ import org.junit.Test; import static org.mockito.ArgumentMatchers.isA; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; /** @@ -61,18 +60,6 @@ public class SmppProducerLazySessionCreationTest { } @Test - public void doStartShouldNotCreateTheSmppSession() throws Exception { - when(endpoint.getConnectionString()).thenReturn("smpp://smppclient@localhost:2775"); - when(endpoint.isSingleton()).thenReturn(true); - - producer.doStart(); - - verify(endpoint).getConnectionString(); - verify(endpoint).isSingleton(); - verifyNoMoreInteractions(endpoint, session); - } - - @Test public void processShouldCreateTheSmppSession() throws Exception { when(endpoint.getConnectionString()) .thenReturn("smpp://smppclient@localhost:2775");