public void Get_T_Should_Allow_Geometry_Types()
 {
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": \"POINT (1.0 2.0)\" }}", "something", new Point(1, 2));
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": \"LINESTRING (1 2, 3 4.1234)\" }}", "something",
                                     new LineString(new Point(1, 2), new Point(3, 4.1234)));
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": \"POLYGON ((1 3, 3 1, 3 6, 1 3))\" }}", "something",
                                     new Polygon(new Point(1, 3), new Point(3, 1), new Point(3, 6), new Point(1, 3)));
 }
 public void Get_T_Should_Allow_Serializable_Types()
 {
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 1.2 }}", "something", 1.2M);
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 12 }}", "something", 12);
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 12 }}", "something", 12L);
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 1.2 }}", "something", 1.2D);
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 1.2 }}", "something", 1.2F);
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 1.2 }}", "something", "1.2");
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": \"123e4567-e89b-12d3-a456-426655440000\" }}", "something",
                                     Guid.Parse("123e4567-e89b-12d3-a456-426655440000"));
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": 12 }}", "something", BigInteger.Parse("12"));
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": \"92d4a960-1cf3-11e6-9417-bd9ef43c1c95\" }}", "something",
                                     (TimeUuid)Guid.Parse("92d4a960-1cf3-11e6-9417-bd9ef43c1c95"));
     GraphNodeGraphSON1Tests.TestGet("{\"result\": {\"something\": [1, 2, 3] }}", "something", new[] { 1, 2, 3 });
     GraphNodeGraphSON1Tests.TestGet <IEnumerable <int> >("{\"result\": {\"something\": [1, 2, 3] }}", "something", new[] { 1, 2, 3 });
 }