public void Test_ChildSequence() { SequenceNumber sequenceNumber = new SequenceNumber(); Assert.AreEqual("1", sequenceNumber.GetNext()); sequenceNumber.StartChildSequence(); Assert.AreEqual("1.1", sequenceNumber.GetNext()); Assert.AreEqual("1.2", sequenceNumber.GetNext()); sequenceNumber.EndChildSequence(); Assert.AreEqual("2", sequenceNumber.GetNext()); }