public virtual void Setup() { mocks = new MockRepository(); naming = new DefaultNamingService(); source = new DefaultSourceGenerator(); logging = new NullLogger(); generator = new ActionMapGenerator(logging, source, naming, "TargetNamespace", typeof (IServiceProvider).FullName); }
public virtual void Setup() { mocks = new MockRepository(); naming = new DefaultNamingService(); source = new DefaultSourceGenerator(); logging = new NullLogger(); generator = new ActionMapGenerator(logging, source, naming, "TargetNamespace", typeof(IServiceProvider).FullName); }
public virtual void Setup() { naming = new DefaultNamingService(); source = new DefaultSourceGenerator(); // I found a more integration style of testing was better, I started off // mocking calls to ISourceGenerator, and that was just stupid, we want the classes and types and members. // and the assertions here ensure that. logging = new NullLogger(); generator = new ActionMapGenerator(logging, source, naming, "TargetNamespace", typeof (IServiceProvider).FullName); }
public virtual void Setup() { naming = new DefaultNamingService(); source = new DefaultSourceGenerator(); // I found a more integration style of testing was better, I started off // mocking calls to ISourceGenerator, and that was just stupid, we want the classes and types and members. // and the assertions here ensure that. logging = new NullLogger(); generator = new ActionMapGenerator(logging, source, naming, "TargetNamespace", typeof(IServiceProvider).FullName); }