assertEquals(aor, reginfo.getRegistrationArray(0).getAor());
assertEquals(State.INIT, reginfo.getRegistrationArray(0).getState());
assertEquals(0, reginfo.getRegistrationArray(0).getContactArray().length);
Registration registration = new Registration(aor);
registration.addListener(regResource);
Binding binding1 = new Binding(new UriImpl("sip:alice@localhost"), "123@localhost", 1, now + 100000);
registration.addBinding(binding1);
//System.out.println(regResource.getState().getContent());
assertEquals(1, reginfo.getRegistrationArray(0).getContactArray().length);