@Test
public void testUriFormatter() {

    IFormatter<DataSource> formatter = DataSource.uriFormatter();
    assertThat(formatter.format(newSample()))
            .isNotEmpty()
            .isEqualTo(formatter.format(newSample()))
            .isEqualTo(formatter.format(new DataSource(PNAME, VERSION, ImmutableSortedMap.of(K3, V3, K2, V2, K1, V1))))
            .isNotEqualTo(formatter.format(ZERO))
            .startsWith("demetra://tsprovider/");
}