@Test(expected=ValidationException.class)
public void shouldUseValidationVersionOfLogicResult() throws Exception {

	when(result.use(LogicResult.class)).thenReturn(new MockedLogic());
	factory.instanceFor(LogicResult.class, errors).forwardTo(RandomComponent.class).random();
}