public void Arrange()
        {
            ConfigureWhaleEs.With().UseReflection().UseActionToCallApply(
                (o,ar) =>
                ar.GetType().GetMethods().FirstOrDefault(
                    mi => mi.Name == "DoThingWithEvent" && mi.GetParameters().Any(pi => pi.ParameterType == o.GetType())).Invoke(ar,new[]{o}))
                    .UseReflection()
                .UseFuncToGetUncommitedEvents(ar => ar.GetType().GetMethods().FirstOrDefault(mi => mi.Name == "EventsToSendToDb").Invoke(ar,null) as object[]);

            _eventStream = MockRepository.GenerateMock<IStreamOfEventsFor<AWierdAr>>();
            _repository = new Repository<AWierdAr>(_eventStream);
        }
 public void arrange()
 {
     ConfigureWhaleEs.With();
     _stream = MockRepository.GenerateMock<IStreamOfEventsFor<StandardARWithPublicMethods>>();
 }