Rename setDeviceName() method of InputComponent and revert MockObjects file.