@Test
public void shouldCreateLongFromStringRegardlessOfLeadingAndTrailingWhitespace() {

    assertThat(factory.create("  1  "), is(Long.valueOf(1)));
    assertThat(factory.create("  -10  "), is(Long.valueOf(-10)));
    assertThat(factory.create("  100000101  "), is(Long.valueOf(100000101)));
}