using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnitTestSharp; using UnitTestSharp.Extensions; using System.Reflection; namespace TestsForUnitTestSharp.Extensions { public class DummyWrapper { public class MethodBaseExtensionsTests : TestFixture { public void Works() { var frame = new System.Diagnostics.StackFrame(true); string pedigree = "TestsForUnitTestSharp.Extensions::DummyWrapper.MethodBaseExtensionsTests::Works"; CheckEqual(pedigree, frame.GetMethod().ExtractPedigree()); } } } }