/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Unable to remove credentials from "/path/to/working-copy" path. */ public function testRemoveCredentialsFromPath() { $this->_repositoryConnector->removeCredentials('/path/to/working-copy'); }