### Question:
JmsNoOpTracerFactory extends JmsTracerFactory { public static JmsTracer create() { return JmsNoOpTracer.INSTANCE; }  static JmsTracer create(); @Override JmsTracer createTracer(URI remoteURI, String type);  }### Answer:
@Test public void testCreate() { JmsTracer tracer = JmsNoOpTracerFactory.create(); assertSame("Unexpected tracer instance", JmsNoOpTracer.INSTANCE, tracer); }
@Test public void testCreateURIAndTypeName() throws Exception { JmsTracer tracer = JmsNoOpTracerFactory.create(new URI("amqp: assertSame("Unexpected tracer instance", JmsNoOpTracer.INSTANCE, tracer); }
@Test public void testCreateURIAndTypeNameUnknown() throws Exception { try { JmsNoOpTracerFactory.create(new URI("amqp: fail("Exception was not thrown"); } catch (Exception e) { } }