@Test
public void shouldCreateBooleanFromTrueAndFalseStringRegardlessOfLeadingAndTrailingWhitespace() {

    assertThat(factory.create("  true  "), is(true));
    assertThat(factory.create("  false  "), is(false));
    assertThat(factory.create("  TRUE  "), is(true));
    assertThat(factory.create("  FALSE  "), is(false));
}