}
@Test
public void givesAInvalidNameErrorForAInvalidName() throws Exception {
request = makeInvalidRequest("");
SimpleResponse response = (SimpleResponse) responder.makeResponse(context, request);
assertEquals(400, response.getStatus());
assertSubString("Invalid Child Name", response.getContent());
request = makeInvalidRequest("hello goodbye");
response = (SimpleResponse) responder.makeResponse(context, request);
assertSubString("Invalid Child Name", response.getContent());
request = makeInvalidRequest("1man+1mission");
response = (SimpleResponse) responder.makeResponse(context, request);
assertSubString("Invalid Child Name", response.getContent());
request = makeInvalidRequest("PageOne.PageTwo");
response = (SimpleResponse) responder.makeResponse(context, request);
assertSubString("Invalid Child Name", response.getContent());
}