anchor.diff:  [source,java]
   ----
   mvc
  -    .perform(get("/").with(httpBasic("user","password")))
  +	.perform(get("/").with(httpBasic("user","password")))
   ----
   
   will attempt to use HTTP Basic to authenticate a user with the username "user" and the password "password" by ensuring the following header is populated on the HTTP Request:
  
positive.code: @Test
  @WithMockUser
  public void requestProtectedUrlWithUser() throws Exception {
    mvc
        .perform(get("/"))
        ...
  }
  ----
  
  
negative.code: [source,java]
  ----
  mvc
  	.perform(formLogin().user("admin").roles("USER","ADMIN"))
  	.andExpect(authenticated().withUsername("admin"));
  ----