@Test public void testGet() { final DMNMarshallerProducer producer = new DMNMarshallerProducer(); final DMNMarshaller marshaller = producer.get(); assertNotNull(marshaller); assertSame(marshaller, producer.get()); assertSame(marshaller, producer.get()); }
@Produces public DMNMarshaller get() { if (marshaller == null) { marshaller = newMarshallerWithExtensions(singletonList(new DMNDIExtensionsRegister())); } return marshaller; }
DMNMarshallerProducer { @Produces public DMNMarshaller get() { if (marshaller == null) { marshaller = newMarshallerWithExtensions(singletonList(new DMNDIExtensionsRegister())); } return marshaller; } }
DMNMarshallerProducer { @Produces public DMNMarshaller get() { if (marshaller == null) { marshaller = newMarshallerWithExtensions(singletonList(new DMNDIExtensionsRegister())); } return marshaller; }  }
DMNMarshallerProducer { @Produces public DMNMarshaller get() { if (marshaller == null) { marshaller = newMarshallerWithExtensions(singletonList(new DMNDIExtensionsRegister())); } return marshaller; }  @Produces DMNMarshaller get(); }
DMNMarshallerProducer { @Produces public DMNMarshaller get() { if (marshaller == null) { marshaller = newMarshallerWithExtensions(singletonList(new DMNDIExtensionsRegister())); } return marshaller; }  @Produces DMNMarshaller get();  }