@Test
public void testAttributeExistsWhenAttributeDoesExistButWithNoValue() throws Exception {

	final Attributes attrs = new BasicAttributes();
	attrs.put(new BasicAttribute("abc"));
	class TestableDirContextAdapter extends DirContextAdapter {
		public TestableDirContextAdapter() {
			super(attrs, null);
		}
	}
	tested = new TestableDirContextAdapter();
	boolean result = tested.attributeExists("abc");
	assertThat(result).isEqualTo(true);
}