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

	Status status = mock(Status.class);
	when(result.use(Status.class)).thenReturn(status);
	factory.instanceFor(Status.class, errors).movedPermanentlyTo("/newUri");
}