furnace.startAsync();
waitUntilStarted(furnace);
Assert.assertEquals(1, listener.beforeStartTimesCalled);
registration.removeListener();
furnace.stop();
}
private void waitUntilStarted(Furnace furnace) throws InterruptedException
{
while (!furnace.getStatus().isStarted())