NotifierProvider implements Provider<Notifier> { @Override public Notifier provide() { return notifier; } NotifierProvider();   NotifierProvider(VersionHelper versionHelper); @Override Notifier provide();  }
@Test public void shouldProvideTheNotifier() { Notifier expected = new Notifier.Builder() .name("rollbar-java") .version(VERSION) .build(); Notifier result = sut.provide(); assertThat(result, is(expected)); }