Map() public method

public Map ( object data ) : IEnumerable
data object
return IEnumerable
        public void MapJsonWithPrimitiveEnumerable_Expected_RootPrimitivePath()
        {
            JsonMapper jsonMapper = new JsonMapper();

            string json = GivenPrimitiveRecordset();
            IEnumerable<IPath> paths = jsonMapper.Map(json);

            bool condition = paths.Any(p => p.ActualPath == JsonPath.EnumerableSymbol + JsonPath.SeperatorSymbol);
            Assert.IsTrue(condition);
        }
        public void MapJsonWithNestedRecordsetsContainingScalarValues_Expected_PathToPropertyOfEnumerable()
        {
            JsonMapper jsonMapper = new JsonMapper();

            string json = Given();
            IEnumerable<IPath> paths = jsonMapper.Map(json);

            Assert.IsTrue(paths.Any(p => p.ActualPath == "Departments().Employees().Name"));
        }
        public void MapJsonWithARecordset_Expected_PathToPropertyOnEnumerable()
        {
            JsonMapper jsonMapper = new JsonMapper();

            string json = Given();
            IEnumerable<IPath> paths = jsonMapper.Map(json);

            Assert.IsTrue(paths.Any(p => p.ActualPath == "Departments().Name"));
        }
        public void MapJsonWithARecordsetContainingScalarValues_Expected_PathToEnumerable()
        {
            JsonMapper jsonMapper = new JsonMapper();

            string json = Given();
            IEnumerable<IPath> paths = jsonMapper.Map(json);

            Assert.IsTrue(paths.Any(p => p.ActualPath == "PrimitiveRecordset()"));
        }
        public void MapJsonWithScalarValue_Expected_PathToScalarValue()
        {
            JsonMapper jsonMapper = new JsonMapper();

            string json = Given();
            IEnumerable<IPath> paths = jsonMapper.Map(json);

            Assert.IsTrue(paths.Any(p => p.ActualPath == "Motto"));
        }