@Test
void shouldThrowIfLargerThan()
{

    IntegerValue value1 = new IntegerValue( 9007199254740992L);
    IntegerValue value2 = new IntegerValue(9007199254740993L );
    assertThat(value1.asDouble(), equalTo(9007199254740992D));
    assertThrows( LossyCoercion.class, value2::asDouble );
}