def METHOD_NAME(
    self, monkeypatch: MonkeyPatch, name: str, model_name: str, fast_dev_run: bool
) -> None:
    conf = OmegaConf.load(os.path.join("tests", "conf", f"{name}.yaml"))
    # Instantiate datamodule
    datamodule = instantiate(conf.datamodule)
    # Instantiate model
    monkeypatch.setattr(
        torchvision.models.detection, "FasterRCNN", ObjectDetectionTestModel
    )
    monkeypatch.setattr(
        torchvision.models.detection, "FCOS", ObjectDetectionTestModel
    )
    monkeypatch.setattr(
        torchvision.models.detection, "RetinaNet", ObjectDetectionTestModel
    )
    conf.module.model = model_name
    model = instantiate(conf.module)
    # Instantiate trainer
    trainer = Trainer(
        accelerator="cpu",
        fast_dev_run=fast_dev_run,
        log_every_n_steps=1,
        max_epochs=1,
    )
    trainer.fit(model=model, datamodule=datamodule)
    try:
        trainer.test(model=model, datamodule=datamodule)
    except MisconfigurationException:
        pass
    try:
        trainer.predict(model=model, datamodule=datamodule)
    except MisconfigurationException:
        pass