@Test public void testMessages() throws Exception { String text = this.bean.print("Robert"); assertEquals(expected.getExpected(), text); }