AboutService { public About getAbout() { return new About(getApplicationName(), getCopyrightNotice()); }  About getAbout();  }
@Test public void getAbout() { About about = service.getAbout(); assertNotNull(about); assertEquals("Green Beans", about.getApplicationName()); int currentYear = LocalDate.now().get(ChronoField.YEAR); assertEquals("Copyright (c) 2015, " + currentYear + " David Green. All rights reserved.", about.getCopyrightNotice()); }