anchor.diff:      Pid.
   
   
  -test_stop( Pid ) ->
  -    meck:unload( lurch_dev ),
  +setup_server_stop( Pid ) ->
  +    setup_meck_stop( ok ),
       stop( Pid ).
  +
  +
  +setup_meck() ->
  +    meck:new( lurch_dev, [] ),
  +    ok.
  +
  +
  +setup_meck_stop( ok ) ->
  +    meck:unload( lurch_dev ).
  +
   
   
   % Actual tests
  
positive.code: -ifdef( TEST ).
  -include_lib( "eunit/include/eunit.hrl" ).
  
  -define( setup( F ), { setup, fun test_start/0, fun test_stop/1, fun F/1 } ).
  
  -define( DRIVER_NAME, <<"dummy">> ).
  
  
negative.code:     , { "invalid event", ?_assertEqual( S0, S3 ) }
      ].
  
  test_start_response( ok ) ->
      DeviceId = make_ref(),
      Tag = make_ref(),
      Device = #device{ pid = DeviceId },
  