public void TryParseAreaPath_ReturnsFalse_IfPathDoesNotBelongToRootDirectory(string path)
    {
        // Arrange
        var options           = new RazorPagesOptions();
        var routeModelFactory = new PageRouteModelFactory(options, NullLogger.Instance);

        // Act
        var success = routeModelFactory.TryParseAreaPath(path, out _);

        // Assert
        Assert.False(success);
    }
    public void TryParseAreaPath_ParsesAreaPath(
        string path,
        string expectedArea,
        string expectedViewEnginePath)
    {
        // Arrange
        var options           = new RazorPagesOptions();
        var routeModelFactory = new PageRouteModelFactory(options, NullLogger.Instance);

        // Act
        var success = routeModelFactory.TryParseAreaPath(path, out var result);

        // Assert
        Assert.True(success);
        Assert.Equal(expectedArea, result.areaName);
        Assert.Equal(expectedViewEnginePath, result.viewEnginePath);
    }