@Test( expected = HMSRestException.class )
public void getNicInfo()
    throws Throwable
{

    MvcResult result;
    try
    {
        result =
            this.mockMvc.perform( get( "http://localhost:8080/host/N1/nicinfo" ) ).andExpect( status().isOk() ).andReturn();
    }
    catch ( Exception e )
    {
        assertNotNull( e );
        assertNotNull( e.getCause() );
        assertTrue( e.getCause() instanceof HMSRestException );
        throw e.getCause();
    }
    assertNotNull( result.getResponse() );
    assertTrue( result.getResponse().getContentAsString().contains( "Ethernet" ) );
}