@Test
public void shouldReturnContentOfFile() throws IOException {

	// Given
	Part part = new FilePart(name, file);
	ByteArrayOutputStream out = new ByteArrayOutputStream();
	// When
	InputStream is = part.getContent();
	PartTestUtils.readStream(is, out);
	String result = new String(out.toByteArray());
	// Then
	assertThat(result, is(content));
}