Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
4 import static org.junit.Assert.*;
7 public class UseQueryTest {
9 public UseQueryTest() {
12 @Test public void verifyThatQueryReturnsHello() {
13 Query query = new Query();
14 Query.Sequence reply = query.computeReply();
15 assertEquals("Length is correct", 5, reply.length());
17 assertEquals('H', reply.charAt(0));
18 assertEquals('e', reply.charAt(1));
19 assertEquals('l', reply.charAt(2));
20 assertEquals('l', reply.charAt(3));
21 assertEquals('o', reply.charAt(4));