Assert.assertThat(parser.createFunctionFragment(function, 0), Is.is("{!func}foo(37.767624,-122.48526)"));
}
@Test
public void testCreateFunctionFragmentConvertsDistanceProperty() {
Foo function = new Foo(Arrays.asList(new Distance(5, Metrics.KILOMETERS)));
Assert.assertThat(parser.createFunctionFragment(function, 0), Is.is("{!func}foo(5.0)"));
}