Refactor DOMMoutPointServiceImpl UT a little bit 23/81423/3
authorJakub Morvay <jakub.morvay@gmail.com>
Sun, 7 Apr 2019 07:01:23 +0000 (09:01 +0200)
committerRobert Varga <nite@hq.sk>
Tue, 9 Apr 2019 11:23:02 +0000 (11:23 +0000)
commitdaa3a1ef6d9c7da2e3550fe624d4963be74f3e19
treea36dbbc2bfa0226115e7b262c91901077fcf373c
parentdb255168e2a1a50e79015df407fc70f51be6bcf9
Refactor DOMMoutPointServiceImpl UT a little bit

This refactors DOMMountPointSerivceImplTest unit test. The test now
tries to test DOMMountPointServiceImpl's DOMMountPointService API
contract instead of testing how it is implemented. This way we can
restrict the visibility of some of DOMMountPointServiceImpl members.

Change-Id: I8bd9cd7d659ffd8d32d7ce361f42c9cfec805283
Signed-off-by: Jakub Morvay <jakub.morvay@gmail.com>
dom/mdsal-dom-broker/src/main/java/org/opendaylight/mdsal/dom/broker/DOMMountPointServiceImpl.java
dom/mdsal-dom-broker/src/test/java/org/opendaylight/mdsal/dom/broker/DOMMountPointServiceImplTest.java [new file with mode: 0644]
dom/mdsal-dom-broker/src/test/java/org/opendaylight/mdsal/dom/broker/MountPointServiceTest.java [deleted file]