public void AddFilter1() { var filter = Mock.Of <IActorFilter <TestComponent1> >(); _actorContext.AddFilter(filter); Assert.Same(filter, _actorContext.GetFilter <TestComponent1>()); }