}
public void testSha1One() throws ParseException {
Feature feature = m_samples.buildSimpleFeature("fid1");
FeatureSha1 sync = new FeatureSha1();
Sha1Value sha1 = sync.computeValueSha1(feature);
assertEquals("56e82e2d2452830bbdb9bc1ce353a2e159996308", sha1.toString());
sync.parseAttributesToInclude("-all");
sha1 = sync.computeValueSha1(feature);
assertEquals("db90c50160c32f3517b7d3b1c78be70a7f2ba992", sha1.toString());
sync.parseAttributesToInclude("name");
sha1 = sync.computeValueSha1(feature);
assertEquals("d4dc2740d2d92547f941bfaf677e11c9b99605ee", sha1.toString());
sync.parseAttributesToInclude("name,classification");
sha1 = sync.computeValueSha1(feature);
assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());
sync.parseAttributesToInclude("classification,name");
sha1 = sync.computeValueSha1(feature);
assertEquals("c905e1c6c7eb6bad1eedae0509b7da286dbd7b48", sha1.toString());
sync.parseAttributesToInclude("name,classification,height");
sha1 = sync.computeValueSha1(feature);
assertEquals("db90c50160c32f3517b7d3b1c78be70a7f2ba992", sha1.toString());
}