public void Initialise()
        {
            DummyAssembly.Reset();

            _structType = new DummyTypeDetails("Test.Struct") { IsClass = false };
            _classType = new DummyTypeDetails("Test.Class");
            _nestedType = new DummyTypeDetails("Test.Class.Nested") { IsNested = true, DeclaringType = _classType };

            _classType.SetNestedTypes(new[] 
            {
                _nestedType
            });

            _generatedType = new DummyTypeDetails("Test.Class.Generated") { IsCompilerGenerated = true };

            _classType.SetMethods(new DummyMethodDetails[] 
            {
                new DummyMethodDetails(_classType, "GeneratedMethod") { IsCompilerGenerated = true },
                new DummyMethodDetails(_classType, "VoidMethod")
            });

            _dummyTypes = new DummyTypeDetails[] 
            {
                _structType,
                _classType,
                _nestedType,
                _generatedType
            };

            _testDiscoverer = new TestInstrumentationDiscoverer(_dummyTypes);
        }
        public void Initialise()
        {
            DummyAssembly.Reset();

            _structType = new DummyTypeDetails("Test.Struct") { IsClass = false };
            _classType = new DummyTypeDetails("Test.Class");
            _nestedType = new DummyTypeDetails("Test.Class.Nested") { IsNested = true, DeclaringType = _classType };

            _classType.SetNestedTypes(new[]
            {
                _nestedType
            });

            _generatedType = new DummyTypeDetails("Test.Class.Generated") { IsCompilerGenerated = true };

            _classType.SetMethods(new DummyMethodDetails[]
            {
                new DummyMethodDetails(_classType, "GeneratedMethod") { IsCompilerGenerated = true },
                new DummyMethodDetails(_classType, "VoidMethod")
            });

            _dummyTypes = new DummyTypeDetails[]
            {
                _structType,
                _classType,
                _nestedType,
                _generatedType
            };

            _testDiscoverer = new TestInstrumentationDiscoverer(_dummyTypes);
        }