Exemplo n.º 1
0
        public void SetUp()
        {
            _adviceDeclarationProviderMock = MockRepository.GenerateStrictMock <IDeclarationProvider> ();
            _weaverMock         = MockRepository.GenerateStrictMock <IWeaver> ();
            _adviceComposerMock = MockRepository.GenerateStrictMock <IAdviceComposer>();
            _mutableType        = ObjectMother.GetMutableType();

            _assembler = new Assembler(_adviceDeclarationProviderMock, _adviceComposerMock, _weaverMock);
        }
Exemplo n.º 2
0
 public Participant(
     IDeclarationProvider declarationProvider,
     IAdviceComposer adviceComposer,
     IAdviceWeaver adviceWeaver,
     IIntertypeWeaver intertypeWeaver,
     IEventMethodPreparer eventMethodPreparer)
 {
     _declarationProvider = declarationProvider;
     _adviceComposer      = adviceComposer;
     _adviceWeaver        = adviceWeaver;
     _intertypeWeaver     = intertypeWeaver;
     _eventMethodPreparer = eventMethodPreparer;
 }