Remove ListenerRegistration protobuff messages
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / DataChangeListenerRegistrationTest.java
index a499ab3..a2bd569 100644 (file)
@@ -44,13 +44,13 @@ public class DataChangeListenerRegistrationTest extends AbstractActorTest {
         @Override
         protected void run() {
 
-          subject.tell(new CloseDataChangeListenerRegistration().toSerializable(), getRef());
+          subject.tell(CloseDataChangeListenerRegistration.INSTANCE, getRef());
 
           final String out = new ExpectMsg<String>(duration("1 seconds"), "match hint") {
             // do not put code outside this method, will run afterwards
             @Override
             protected String match(final Object in) {
-              if (in.getClass().equals(CloseDataChangeListenerRegistrationReply.SERIALIZABLE_CLASS)) {
+              if (in.getClass().equals(CloseDataChangeListenerRegistrationReply.class)) {
                 return "match";
               } else {
                 throw noMatch();

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.