@Test
public void closeShouldCloseHttpResourceAndCallSuperJustAtFirstCall() throws IOException {

    toTest.close();
    toTest.close();
    verify(mockHttpResource).close();
    verify(mockInputStream).close();
}