@Test
public void testGetAllBufferedAttributes() throws Exception {

	Collection<Attribute> names;
	Iterator<Attribute> iterator;
	Attribute attr;
	
	names = this.provider.getAllBufferedAttributes();
	assertNotNull(names);
	assertEquals(0, names.size());
	iterator = names.iterator();
	assertFalse(iterator.hasNext());
	this.provider.setAttribute("NEWFIELD", 7.); //$NON-NLS-1$
	names = this.provider.getAllBufferedAttributes();
	assertNotNull(names);
	assertEquals(1, names.size());
	iterator = names.iterator();
	assertTrue(iterator.hasNext());
	attr = iterator.next();
	assertNotNull(attr);
	assertEquals("NEWFIELD", attr.getName()); //$NON-NLS-1$
	assertEquals(7., attr.getValue());
	assertFalse(iterator.hasNext());
	this.provider.removeAttribute("NEWFIELD"); //$NON-NLS-1$
	names = this.provider.getAllBufferedAttributes();
	assertNotNull(names);
	assertEquals(0, names.size());
	iterator = names.iterator();
	assertFalse(iterator.hasNext());
}