/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage The "cl missing" changelist doens't exist. */ public function testGetWorkingCopyStatusWithNonExistingChangelist() { $this->_expectCommand("svn --non-interactive status --xml '/path/to/working-copy'", $this->getFixture('svn_status_with_changelist_16.xml')); $this->_repositoryConnector->getWorkingCopyStatus('/path/to/working-copy', 'cl missing'); }