@Test
public void testDataSource() throws Exception {
TestDataSource ds = new TestDataSource("name", "text/plain", "data");
Assert.assertEquals("name", ds.getName());
Assert.assertEquals("text/plain", ds.getContentType());
Assert.assertEquals("data", new StringPuller().pull(ds.getInputStream()));
Assert.assertEquals("data", ds.getDataString());
ds.setDataString("delta");
Assert.assertEquals("delta", ds.getDataString());
OutputStream os = ds.getOutputStream();
os.write("written".getBytes("UTF-8"));