@Test(expected = IOException.class)
public void shouldThrowIOExceptionWhenInvalidCharset() throws IOException {

	// Given
	String invalidCharset = "@MSADG";
	Part part = new StringPart(name, content, invalidCharset, ContentType.CONTENT_TYPE_TEXT_PLAIN);
	// When
	part.getContent();
}