Remove use of deprecated methods in java docs
This commit is contained in:
parent
50979d599c
commit
8476a90d1f
11 changed files with 18 additions and 22 deletions
|
|
@ -63,7 +63,7 @@ public class DeviceGroupTest extends JUnitSuite {
|
|||
ActorRef groupActor = system.actorOf(DeviceGroup.props("group"));
|
||||
|
||||
groupActor.tell(new DeviceManager.RequestTrackDevice("wrongGroup", "device1"), probe.getRef());
|
||||
probe.expectNoMsg();
|
||||
probe.expectNoMessage();
|
||||
}
|
||||
//#device-group-test-registration
|
||||
|
||||
|
|
|
|||
|
|
@ -49,10 +49,10 @@ public class DeviceTest extends JUnitSuite {
|
|||
ActorRef deviceActor = system.actorOf(Device.props("group", "device"));
|
||||
|
||||
deviceActor.tell(new DeviceManager.RequestTrackDevice("wrongGroup", "device"), probe.getRef());
|
||||
probe.expectNoMsg();
|
||||
probe.expectNoMessage();
|
||||
|
||||
deviceActor.tell(new DeviceManager.RequestTrackDevice("group", "wrongDevice"), probe.getRef());
|
||||
probe.expectNoMsg();
|
||||
probe.expectNoMessage();
|
||||
}
|
||||
//#device-registration-tests
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue