@Test
public void shouldFindTypeGivenSymbolWithLeadingAndTrailingWhitespace() {

    for (Type type : Type.values()) {
        assertThat(Type.forSymbol(" \t " + type.getSymbol() + " \t \n"), is(sameInstance(type)));
    }
}