anchor.diff:  	end,
   	fun(GE) -> [
   
  -		{"able to create mnesia table", fun() ->
  -			Got = pre_gen_entity:ensure_mnesia_table(),
  -			?assertEqual(ok, Got),
  -			?assertEqual(true, mnesia:table_info(pre_gen_entity, local_content))
  -		end},
  -
   		{"init called", fun() ->
   			meck:expect(callback, init, fun([1, 2]) ->
   				{ok, state}
   			end),
   			pre_gen_entity:add_entity(GE, 1, callback, [1,2]),
   			?assert(meck:called(callback, init, [[1,2]], '_'))
  -		end},
  -
  -		{"after init, state exists in mnesia table", fun() ->
  -			Gots = mnesia:dirty_read(pre_gen_entity, {callback, 1}),
  -			?assertEqual(1, length(Gots))
   		end},
   
   		{"handle_event, simple", fun() ->
  
positive.code: 			pre_gen_entity:notify(GE, some_event, 7, 7, data),
  			MsgReceived = receive
  				{pre_gen_entity, entity_removed, GE, {callback, 7}} ->
  					true
  			after 100 ->
  				false
  			end,
  			?assert(MsgReceived)
  		end},
  
  		{"recover an entity that is supervised", fun() ->
  			Rec = {pre_gen_entity, {callback, 87}, b_state, undefined},
  			mnesia:dirty_write(pre_gen_entity, Rec),
  			meck:expect(callback, handle_event, fun(_, _, _, _, _) ->
  				remove_entity
  			end),
  			meck:expect(callback, removed, fun(_, _) ->
  				ok
  			end),
  			_ = pre_gen_entity:recover_sup_entity(GE, 87, callback),
  			pre_gen_entity:notify(GE, some_event, 7, 7, data),
  			MsgReceived = receive
  				{pre_gen_entity, entity_removed, GE, {callback, 87}} ->
  					true
  			after 100 ->
  				false
  
negative.code: 
  	] end}.
  
  -endif.
  