@Test (expected=DomainException.class)
public void testThrowsMappedExceptionWhenCanNotProceedViaConstructor() throws Exception {

    ConstantFlowRegulator impl = new ConstantFlowRegulator(1, new TestConstantFlowRegulatorExceptionMapper());
    for (int i = 0; i < 5; i++) {
        impl.invoke(mockCallable);
    }
}