private void thenCode(int code) {
   assertEquals(code, actual.getCode());
 }
 private void thenViewName(String expected) {
   assertEquals(expected, actual.getViewName());
 }