public override void TearDown() { facetFactory = null; base.TearDown(); }
public override void SetUp() { base.SetUp(); var cache = new ImmutableInMemorySpecCache(); ReflectorConfiguration.NoValidate = true; var reflectorConfiguration = new ReflectorConfiguration(new Type[] {}, new Type[] {}, new string[] {}); facetFactory = new RemoveIgnoredMethodsFacetFactory(0); var menuFactory = new NullMenuFactory(); var classStrategy = new DefaultClassStrategy(reflectorConfiguration); var metamodel = new Metamodel(classStrategy, cache); Reflector = new Reflector(classStrategy, metamodel, reflectorConfiguration, menuFactory, new IFacetDecorator[] {}, new IFacetFactory[] {facetFactory}); }