@Test
public void testGetObjectInstance_ObjectNotContext() throws Exception {

	Attributes expectedAttributes = new NameAwareAttributes();
	expectedAttributes.put("someAttribute", "someValue");
	DirContextAdapter adapter = (DirContextAdapter) tested.getObjectInstance(new Object(), DN, null,
			new Hashtable(), expectedAttributes);
	assertThat(adapter.getDn()).isEqualTo(DN);
	assertThat(adapter.getAttributes()).isEqualTo(expectedAttributes);
}