Unit test for RestconfStreamsSubscriptionServiceImpl class 47/45247/4
authormiroslav.kovac <miroslav.kovac@pantheon.tech>
Tue, 6 Sep 2016 10:27:52 +0000 (12:27 +0200)
committermiroslav.kovac <miroslav.kovac@pantheon.tech>
Wed, 7 Sep 2016 05:25:45 +0000 (07:25 +0200)
commit8b3c473bd953ca3b11a1aa9ea256e877a867e71c
treeaf92a51ab1285d1750ec37842b4489200efb78fe
parentfcf7f02526eb6f3411c5760682575dd2bca15d0b
Unit test for RestconfStreamsSubscriptionServiceImpl class

Remove redundant check of empty or null String. This will never
happen since it would fail while getting LogicalDatastoreType
or DataChangeScope.

Change-Id: I99455ddcc7c15d5c3268ed5ea92eb747b5b49f17
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/restful/services/impl/RestconfStreamsSubscriptionServiceImpl.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/restful/services/impl/RestconfStreamsSubscriptionServiceImplTest.java [new file with mode: 0644]