assertEquals(1, ver.getPhase(Thread.currentThread()));
}
@Test
public void ensureThreadIsRegistered() throws InstantiationException, IllegalAccessException {
TaskHandle task = mock(TaskHandle.class);
EdgeBuffer buffer = mock(EdgeBuffer.class);
when(strat.getBuffer()).thenReturn(buffer);
when(buffer.createHandle()).thenReturn(task);
ver.ensureRegistered(Thread.currentThread());
}