/**
  * Simple test verifying the expected state can be set and retrieved
  *
  * @throws Exception
  */
 @Test
 public void testExpectedState() throws Exception {
   PersonCreationIdPolicyImpl underTest = new PersonCreationIdPolicyImpl();
   underTest.setExpectedState(EXISTS);
   assertEquals(EXISTS, underTest.getExpectedState());
   underTest.setExpectedState(DOES_NOT_EXIST);
   assertEquals(DOES_NOT_EXIST, underTest.getExpectedState());
 }