@Test
public void forbidden()
throws ConnectionException, ComponentConfigurationException, IOException, ResourceDoesNotExistException,
TransferFailedException
{
AuthenticationInfo info = new AuthenticationInfo();
info.setUserName( "user" );
info.setPassword( "password" );
getServerFixture().addUser( info.getUserName(), "password" );
getServerFixture().addServlet( "/403.txt",
new ErrorCodeServlet( HttpServletResponse.SC_FORBIDDEN, "Expected 403" ) );
testAuthFailure( "403.txt", info );