@Test
public void whenThereIsNoRefererShouldThrowExceptionOnRedirect() throws Exception {

	when(request.getHeader("Referer")).thenReturn(null);
	try {
		refererResult.redirect();
		fail("Expected IllegalStateException");
	} catch (IllegalStateException e) {
		
	}
}