public void thatBundleOfUndefinedConstGotBootstrappedAndOthersNot() {
assertOptionResolvedToValue( null, "on-generic" );
}
private static void assertOptionResolvedToValue( Machine actualOption, String expected ) {
Options options = Options.STANDARD.chosen( actualOption );
Injector injector = Bootstrap.injector( ModularBindsBundle.class,
Globals.STANDARD.options( options ) );
String[] actual = injector.resolve( dependency( String[].class ) );
assertThat( actual, is( new String[] { expected } ) );
}