1   package ch.qos.logback.classic.net.mock;
2   
3   import javax.jms.JMSException;
4   import javax.jms.Queue;
5   
6   public class MockQueue implements Queue {
7   
8     String name;
9     
10    public MockQueue(String name) {
11      this.name = name;
12    }
13    
14    public String getQueueName() throws JMSException {
15      return name;
16    }
17  
18  }