@Test
public void requiredArgOfValueTypeBasedOnValueOf() {

    assertNoException( new Block() {
        public void execute() {
            new RequiredArgumentOptionSpec<Void>( "threshold" ).ofType( ValueOfHaver.class );
        }
    } );
}