public void When_ShouldBe() { // Arrange var path = new SPath("root", "one", "two"); var expected = new SPath("root", "one"); // Act var actual = path.Parent(); // Assert Assert.Equal(expected, actual); }