}
public void testQuotes() throws Exception {
Resource resource = new InputStreamResource(new ByteArrayInputStream("\" foo \",bar,\"spam\"".getBytes()));
ResourceFieldSetReader reader = new ResourceFieldSetReader(resource);
FieldSet fieldSet = reader.read();
assertNotNull(fieldSet);
// TODO: maybe this should be with the whitespace still?
assertEquals("foo", fieldSet.readString(0));
assertEquals("spam", fieldSet.readString(2));
}