@Test
public void shouldUseOutputStreamWhenWrite() throws IOException {

	// Given
	OutputStream out = mock(OutputStream.class);
	Part part = new TestPart(name);
	// When
	part.write(out);
	// Then
	verify(out, atLeastOnce()).write(Matchers.any(byte[].class));
}