@SuppressWarnings("deprecation")
@Test
public void shouldDelegateToStatusWhenMovingToLogic() throws Exception {

	when(status.movedPermanentlyTo(RandomController.class)).thenReturn(new RandomController());
	httpResult.movedPermanentlyTo(RandomController.class).method();
	verify(status).movedPermanentlyTo(RandomController.class);
}