assertThat(page.getBodyText(), is("San Francisco (California)"));
}
@Test
public void shouldSupportMissingMessage() throws Exception {
MissingMessagePage page = this.pages.get(MissingMessagePage.class);
assertThat(page.getOutputText(), is("idontexist"));
assertThat(page.getErrorMessage(), startsWith("No message found under code 'idontexist' for locale "));
assertThat(page.getErrorMessage(), endsWith("Attempted to resolve message with the following codes "
+ "'pages.message.missing.idontexist, idontexist'"));
}