1
2
3
4
5
6
7 package org.mule.transport;
8
9 import org.mule.tck.junit4.AbstractMuleTestCase;
10
11 import org.junit.Test;
12
13 import static org.junit.Assert.fail;
14
15 public class KeyedPoolMessageDispatcherFactoryAdapterTestCase extends AbstractMuleTestCase
16 {
17
18 @Test
19 public void testNullFactory()
20 {
21 try
22 {
23 new KeyedPoolMessageDispatcherFactoryAdapter(null);
24 fail("expected IllegalArgumentException");
25 }
26 catch (IllegalArgumentException iex)
27 {
28
29 }
30 }
31
32 }