Change in ovirt-engine[master]: core: GetAllDiskSnapshotsByStorageDomainIdQueryTest mocks

Allon Mureinik has submitted this change and it was merged. Change subject: core: GetAllDiskSnapshotsByStorageDomainIdQueryTest mocks ...................................................................... core: GetAllDiskSnapshotsByStorageDomainIdQueryTest mocks Use the @Mock annotation instead of explicitly calling Mockito.mock. This clears up the code a bit and makes it easier for the reader to focus on the logic of the test. Change-Id: I3d61348726b08b47c0c1bbce0780b5a30cadbd75 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/snapshots/GetAllDiskSnapshotsByStorageDomainIdQueryTest.java 1 file changed, 3 insertions(+), 4 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Allon Mureinik: Verified; Passed CI tests -- To view, visit https://gerrit.ovirt.org/53019 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3d61348726b08b47c0c1bbce0780b5a30cadbd75 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
amureini@redhat.com