public function shouldDeleteFile()
{
$expectedBool = true;
$api = $this->getApiMock();
$api->expects($this->once())->method('delete')->with('projects/1/repository/files', array('file_path' => 'dir/file1.txt', 'branch_name' => 'master', 'commit_message' => 'Deleted file'))->will($this->returnValue($expectedBool));
$this->assertEquals($expectedBool, $api->deleteFile(1, 'dir/file1.txt', 'master', 'Deleted file'));
}