RunnerApplicationStatusEvent extends Event<RunnerApplicationStatusEventHandler> { @Override public Type<RunnerApplicationStatusEventHandler> getAssociatedType() { return TYPE; } RunnerApplicationStatusEvent(@NotNull Runner runner); @Override Type<RunnerApplicationStatusEventHandler> getAssociatedType(); static final Type<RunnerApplicationStatusEventHandler> TYPE; }
@Test public void shouldGetAssociatedType() throws Exception { assertThat(runnerApplicationStatusEvent.getAssociatedType(), is(RunnerApplicationStatusEvent.TYPE)); }