public void AddGroup() { var actorGroup = Mock.Of <IActorGroup <TestActor> >(); _actorContext.AddGroup(actorGroup); Assert.Same(actorGroup, _actorContext.GetGroup <TestActor>()); }