src/test/java/com/dimitri/app/CalculatorApplicationTests.java
/**
	 * Tests going to the root url as an authenticated user.
	 * @throws Exception if response is not 200.
	 */
Tests going to the root url as an authenticated user.
@throws Exception if response is not 200.
Tests going to the root url as an authenticated user . @throws Exception if response is not 200 .
@Test
	@WithMockUser
	public void testGetHome() throws Exception {
		this.mockMvc.perform(get("/")).andExpect(status().isOk());
	}
@ Test @ WithMockUser public void testGetHome ( ) throws Exception { this . mockMvc . perform ( get ( "/" ) ) . andExpect ( status ( ) . isOk ( ) ) ; }
Tests going to the root url as an authenticated user.
Tests going to the root url as an authenticated user .