using var unity = MockRepository.GenerateMock<IUnityContainer>();
at System.Reflection.Emit.TypeBuilder._TermCreateClass(Int32 handle, Module module) at System.Reflection.Emit.TypeBuilder.CreateTypeNoLock() at System.Reflection.Emit.TypeBuilder.CreateType() at Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter.BuildType () at Castle.DynamicProxy.Generators.Emitters.AbstractTypeEmitter.BuildType () at Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.GenerateCode (Type proxyTargetType, Type[] interfaces, ProxyGenerationOptions options) at Castle.DynamicProxy.DefaultProxyBuilder.CreateInterfaceProxyTypeWithoutTarget (Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options) at Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyTypeWithoutTarget (Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options) at Castle.DynamicProxy.ProxyGenerator.CreateInterfaceProxyWithoutTarget (Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options, IInterceptor[] interceptors) at Rhino.Mocks.MockRepository.MockInterface(CreateMockState mockStateFactory, Type type, Type[] extras) at Rhino.Mocks.MockRepository.CreateMockObject(Type type, CreateMockState factory, Type[] extras, Object[] argumentsForConstructor) at Rhino.Mocks.MockRepository.DynamicMock[T](Object[] argumentsForConstructor) at Rhino.Mocks.MockRepository.<>c__DisplayClass7`1.<GenerateMock>b__6 (MockRepository r) at Rhino.Mocks.MockRepository.CreateMockInReplay[T](Func`2 createMock) at Rhino.Mocks.MockRepository.GenerateMock[T](Object[] argumentsForConstructor) at gsdc.demo.calculator.modules.services.ServicesModuleTests.WhenInstantiated_ShouldCallIStatusMessageServicePublishMessage () in D:\prototypes\CompositeCalculator\Module.Services.Tests \ServicesModuleTests.cs:line 18 using var unity = MockRepository.GenerateMock<UnityContainer>(); at Microsoft.Practices.Unity.UnityContainerBase.Resolve[T]() at gsdc.demo.calculator.modules.services.ServicesModuleTests.<WhenInstantiated_ShouldCallIStatusMessageServicePublishMessage>b__0 (UnityContainer container) in D:\prototypes\CompositeCalculator \Module.Services.Tests\ServicesModuleTests.cs:line 24 at Rhino.Mocks.RhinoMocksExtensions.Expect[T,R](T mock, Function`2 action) at Rhino.Mocks.RhinoMocksExtensions.Stub[T,R](T mock, Function`2 action) at gsdc.demo.calculator.modules.services.ServicesModuleTests.WhenInstantiated_ShouldCallIStatusMessageServicePublishMessage () in D:\prototypes\CompositeCalculator\Module.Services.Tests \ServicesModuleTests.cs:line 24 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino.Mocks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhinomocks?hl=en -~----------~----~----~----~------~----~------~--~---
