@Test
public void portfolio() throws Exception {

    when(portfolioService.getPortfolio("portfolio1", "LOB")).thenReturn(PortfolioResponse.getPortfolio(TestUtils.makePortfolio(MetricLevel.PORTFOLIO, RoleRelationShipType.BusinessOwner)));
    mockMvc.perform(MockMvcRequestBuilders.get("/portfolio/portfolio1/LOB"))
            .andDo(print())
            .andExpect(status().isOk());
    verify(portfolioService).getPortfolio("portfolio1", "LOB");
}