@Test public void dereferencePointer() { IBond mock = mock(IBond.class); IBond ptr = new BondRef(mock); assertThat(BondRef.deref(ptr), is(sameInstance(mock))); }
@Test public void dereferencePointer() { IBond mock = mock(IBond.class); IBond ptr = new BondRef(mock); assertThat(BondRef.deref(ptr), is(sameInstance(mock))); }