@Test
public void optionalArgOfValueTypeBasedOnCtor() {
final OptionalArgumentOptionSpec<Ctor> spec = new OptionalArgumentOptionSpec<>( "abc" );
assertNoException( new Block() {
public void execute() {
spec.ofType( Ctor.class );
assertEquals( "foo", spec.convert( "foo" ).getS() );
}
} );