@Test public void shouldReturnSameInstanceFromCreateFactoryFunction() { RaygunStripWrappedExceptionFilter factory = new RaygunStripWrappedExceptionFilter(ClassNotFoundException.class); assertThat(factory.create(), is(factory.create())); }
public IRaygunOnBeforeSend create() { return this; }
RaygunStripWrappedExceptionFilter implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend> { public IRaygunOnBeforeSend create() { return this; } }
RaygunStripWrappedExceptionFilter implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend> { public IRaygunOnBeforeSend create() { return this; } RaygunStripWrappedExceptionFilter(Class<?>... stripClasses); }
RaygunStripWrappedExceptionFilter implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend> { public IRaygunOnBeforeSend create() { return this; } RaygunStripWrappedExceptionFilter(Class<?>... stripClasses); RaygunMessage onBeforeSend(RaygunClient client, RaygunMessage message); IRaygunOnBeforeSend create(); }
RaygunStripWrappedExceptionFilter implements IRaygunOnBeforeSend, IRaygunSendEventFactory<IRaygunOnBeforeSend> { public IRaygunOnBeforeSend create() { return this; } RaygunStripWrappedExceptionFilter(Class<?>... stripClasses); RaygunMessage onBeforeSend(RaygunClient client, RaygunMessage message); IRaygunOnBeforeSend create();  }