MqPatchDetails () { myHgRepository.update(); List<HgNameWithHashInfo> appliedPatches = myHgRepository.getMQAppliedPatches(); assertEquals(1, appliedPatches.size()); String patchName = ContainerUtil.getFirstItem(HgUtil.getNamesWithoutHashes(appliedPatches)); assertNotNull(patchName); return HgMqAdditionalPatchReader.readMqPatchInfo(myRepository, getFileByPatchName(patchName)); }