public RemoveEventTest(Contexts contexts, bool removeComponentWhenEmpty) { _removeComponentWhenEmpty = removeComponentWhenEmpty; _listener = contexts.Test.CreateEntity(); _listener.AddAnyStandardEventAddedListener(this); _listener.AddFlagEntityEventAddedListener(this); }