@Test
public void testSanitiseSemanticTypes() {

    assertEquals(sanitiseSemanticTypes(null), of());
    assertEquals(sanitiseSemanticTypes(ImmutableList.<String>of()), of());
    assertEquals(sanitiseSemanticTypes(of("foobar")), of());
    assertEquals(sanitiseSemanticTypes(of("dsyn")), of("dsyn"));
    assertEquals(sanitiseSemanticTypes(of("dsyn", "foobar")),of("dsyn"));
    assertEquals(sanitiseSemanticTypes(of("dsyn", "foobar", "fish")), of("dsyn", "fish"));
}