	@Test
	public void shouldInterpretRangeCorrectly() {

		// The double brackets are important! The inner bracket pair declares an anonymous constructor.
		new TestKit(this.actorSystem) {{
			ActorRef worker = actorSystem.actorOf(Worker.props());

			// Send a message to the worker.
			worker.tell(new Worker.ValidationMessage(1, 5, 11), this.getRef());

			// Expect the correct response.
			Master.PrimesMessage expectedMsg = new Master.PrimesMessage(1, Arrays.asList(5L, 7L, 11L), true);
			this.expectMsg(Duration.create(3, "secs"), expectedMsg);
		}};
	}