fn extractor_builder_bails_when_neither_required_field_is_set() {
    let handles = Arc::new(Handles::for_testing(None, None).0);

    let extractor = ExtractorBuilder::default()
        .url("")
        .target(ExtractionTarget::RobotsTxt)
        .handles(handles)
        .build();

    assert!(extractor.is_err());
}
/// test that an ExtractorBuilder without a FeroxResponse and without a URL bails
test that an ExtractorBuilder without a FeroxResponse and without a URL bails
test that an ExtractorBuilder without a FeroxResponse and without a URL bails
fn extractor_builder_bails_when_neither_required_field_is_set() {
    let handles = Arc::new(Handles::for_testing(None, None).0);
    let extractor = ExtractorBuilder::default()
        .url("")
        .target(ExtractionTarget::RobotsTxt)
        .handles(handles)
        .build();
    assert!(extractor.is_err());
}
fn extractor_builder_bails_when_neither_required_field_is_set ( ) { let handles = Arc :: new ( Handles :: for_testing ( None , None ) . 0 ) ; let extractor = ExtractorBuilder :: default ( ) . url ( " " ) . target ( ExtractionTarget :: RobotsTxt ) . handles ( handles ) . build ( ) ; assert ! ( extractor is_err ( ) ) ; }
test that an ExtractorBuilder without a FeroxResponse and without a URL bails
test that an ExtractorBuilder without a FeroxResponse and without a URL bails