@Test
public void getsTypedProperties() {

    Symbol symbol = Symbol.builder()
            .name("foo")
            .putProperty("baz", "bar")
            .putProperty("bam", 100)
            .build();
    assertThat(symbol.expectProperty("baz", String.class), equalTo("bar"));
    assertThat(symbol.expectProperty("bam", Integer.class), equalTo(100));
}