@Test
public void shouldCallWriteMethod() throws IOException {

	// Given
	Writable writable = mock(Writable.class);
	HttpEntityWrapper wrapper = given(writable);
	OutputStream out = mock(OutputStream.class);
	// When
	wrapper.writeTo(out);
	// Then
	verify(writable).write(out);
}