@Test
public void testGetType() throws Exception {

    Property delegate = mock(Property.class);
    PropertyFacade<Session> facade = getFacade(delegate);
    final int type = PropertyType.WEAKREFERENCE;
    when(delegate.getType()).thenReturn(type);
    assertEquals("same type", type, facade.getType());
}