@Test
    public void testLayers() {
        BeerRequest beerRequest = new BeerRequest();
        beerRequest.setName("cruzcampo");
        beerRequest.setDescription("standard spanish pilsner style beer");
        BarController barController = AppContext.getService(BarController.class);
        BeerResponse firstResponse = barController.addBeer(beerRequest);
        assertNotNull(firstResponse.getId());
        BeerResponse secondResponse = barController.getBeer(firstResponse.getId());
        assertEquals(firstResponse.getId(), secondResponse.getId());
        assertEquals(firstResponse.getName(), secondResponse.getName());
        assertEquals(firstResponse.getDescription(), secondResponse.getDescription());
    }