anchor.diff:      CertFile = filename:join(CertDir, "server_cert.pem"),
       KeyFile  = filename:join(CertDir, "server_key.pem"),
   
  +    Config = [
  +              {mods, [
  +                      {elli_metrics_middleware, []},
  +                      {elli_middleware_compress, []},
  +                      {elli_example_callback, []}
  +                     ]}
  +             ],
  +
       {ok, P}  = elli:start_link([
                                   {port, 3443},
                                   ssl,
                                   {keyfile, KeyFile},
                                   {certfile, CertFile},
  -                                {callback, elli_example_callback}
  +                                {callback,  elli_middleware},
  +                                {callback_args, Config}
                                  ]),
       unlink(P),
       [P].
  
positive.code:                   {"content-type", "text/event-stream"}], headers(Response)),
      ?assertMatch(Expected, body(Response)).
  
  %%% Internal helpers
  
  setup() ->
  
negative.code: -include_lib("eunit/include/eunit.hrl").
  -include("elli_test.hrl").
  
  -define(README, "README.md").
  
  elli_ssl_test_() ->
      {setup,
       fun setup/0, fun teardown/1,
       [{foreach,
         fun init_stats/0, fun clear_stats/1,
         [
          ?_test(hello_world()),
          ?_test(chunked()),
          ?_test(sendfile())
         ]}
       ]}.
  
  get_size_value(Key) ->
      [{sizes, Sizes}] = ets:lookup(elli_stat_table, sizes),
      proplists:get_value(Key, Sizes).
  
  get_timing_value(Key) ->
      [{timings, Timings}] = ets:lookup(elli_stat_table, timings),
      proplists:get_value(Key, Timings).
  
  %%% Tests
  
  