def METHOD_NAME(trainer, model):
    # check the call count for train/val/test step/epoch
    assert model.training_step_call_count == fast_dev_run
    assert model.on_train_epoch_end_call_count == 1
    assert model.validation_step_call_count == 0 if model.validation_step is None else fast_dev_run
    assert model.on_validation_epoch_end_call_count == 0 if model.validation_step is None else 1
    assert model.test_step_call_count == fast_dev_run
    # check trainer arguments
    assert trainer.max_steps == fast_dev_run
    assert trainer.num_sanity_val_steps == 0
    assert trainer.max_epochs == 1
    assert trainer.val_check_interval == 1.0
    assert trainer.check_val_every_n_epoch == 1
    # there should be no logger with fast_dev_run
    assert isinstance(trainer.logger, DummyLogger)
    # checkpoint callback should not have been called with fast_dev_run
    assert trainer.checkpoint_callback == checkpoint_callback
    checkpoint_callback.save_checkpoint.assert_not_called()
    assert not os.path.exists(checkpoint_callback.dirpath)
    # early stopping should not have been called with fast_dev_run
    assert trainer.early_stopping_callback == early_stopping_callback
    early_stopping_callback._evaluate_stopping_criteria.assert_not_called()