Okay, that wasn't readily apparent. It might be good to revise the test that behavior, like so

```ruby
@provider.class.expects(:dscl).with('localhost', '-mcxdelete', @ds_path).once
@provider.class.expects(:dscl).with('localhost', '-mcximport', @ds_path).once
```

This way the test actually validates the expected behavior, which is that the delete should be run as well as the import, instead of a side effect of the command is run twice.